Question: 1) Look at the code snippet below and assume that the variable NUM1 a been defined as single byte in Bank 5: MyConst EQU 0x25
1) Look at the code snippet below and assume that the variable NUM1 a been defined as single byte in Bank 5: MyConst EQU 0x25 MOVLW MyConst BANKSEL NUM1 MOVWF NUM1 ADDLW MyConst MOVWF MyConst At what address will the contents of WREG be moved to after the last instruction is executed? Explain why this is not a proper use of the MyConst label.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
