Why would the following line in C:
XRAM00 |= 0x01;
compile into this:
mov dptr, #XRAM00 movx a, @dptr mov r7, a mov a, r7 orl a, #1 mov r7, a mov dptr, #XRAM00 mov a, r7 movx @dptr, a
I would have expected this:
mov dptr, #XRAM00 movx a, @dptr orl a, #1 movx @dptr, a
but I can't leave the public insults from the smoked sardine unsanswered.
I only correct your mistakes. If you find that insulting I suggest you either stop posting or pick up some documentation and educate yourself.
crawl back in the can