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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!