Movlw D 10 Movwf A1 Movlw D 7 Movwf A2 Incf A1 Dec A2 Clrw Addlw D 5 Addwf A1 F Sublw D 9 Subwf A2 W 1 (10.74 KiB) Viewed 64 times
From instruction , show value in the register file involvedof each instruction and the final value for A1, A2, WorkingRegister (W) after completing all instructions
MOVLW d'10' MOVWF A1 MOVLW d'7' MOVWF A2 INCF A1 DEC A2 CLRW ADDLW d'5' ADDWF A1,F SUBLW d'9' SUBWF A2,W
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!