When I write the following in uVision,
mov A, -2000
I want A to contain 0x30, as -2000 is 0xF830. Instead it contains 0x05. Is there any predefined macro to be able to treat a literal as sixteen bits and extract the lower (or upper) eight bits out of it?
Thanks.
31 oct 2006, 23hrs now, 1 Nov 2006, 10:07 cst
looks like have been working overnight,
what is the progress other than a "closed" uvision window.. and not working