Peet19
Member
Hi everyone!
I would like to ask how to pass the value of a register to a variable in Assembly?
I get the value of ADRESH, which we enter in W.
EVAL MACRO
LOCAL RH
MOVF ADRESH, W
;...;
ENDM
How should the value of this be transferred to the RH variable?
Thank you in advance for your help!
I would like to ask how to pass the value of a register to a variable in Assembly?
I get the value of ADRESH, which we enter in W.
EVAL MACRO
LOCAL RH
MOVF ADRESH, W
;...;
ENDM
How should the value of this be transferred to the RH variable?
Thank you in advance for your help!