hi there..
im trying to save an ascii character into a register variable as follows:
however the content returned in variable A1 is 0x20 (which is its address)
i then tried
the same thing still happened..
is my syntax okay??
hopefully someone can help me on this
thanks guys
im trying to save an ascii character into a register variable as follows:
Code:
CBLOCK 0X20
A1
ENDC
movlw 'A'
movwf A1
however the content returned in variable A1 is 0x20 (which is its address)
i then tried
Code:
CBLOCK 0X20
A1
ENDC
movlw 0x41
movwf A1
the same thing still happened..
is my syntax okay??
hopefully someone can help me on this
thanks guys