Question: Which register file locations are changed to which values, after the following instructions? 6) MOVLW 50h SUBLW 10h MOVWF 51h 7) MOVLW 50h ADDLW

Which register file locations are changed to which values, after the following instructions? 6) MOVLW 50h SUBLW 10h MOVWF 51h 7) MOVLW 50h ADDLW 10h ADDWF 50h.f 8) MOVF 50h SUBWF 51h,1 9) MOVF 50h,0 SUBLW 10h MOVWF 51h 10) MOVF 50h,0 SUBWF 52h,f MOVF 51h,0 BTFSS STATUS,0 INCFSZ 51h,W SUBWF 53h,0 11) CLRF 50h BSF STATUS,5 BCF STATUS,6 MOVWF 50h BCF STATUS,5 ADDWF 50h,f BSF STATUS,6 SUBWF 50h,f 12) MOVLW 10111B XORLW 21H MOVWF 52H 13) CLRW XORLW -1 MOVWF 52H 14) CLRW INCFSZ 51H,W MOVWF 53H MOVWF 53H 15) IORLW.15 ANDLW 15H
Step by Step Solution
3.34 Rating (160 Votes )
There are 3 Steps involved in it
6 iMOVLW 50h MOVLW is a instruction in PIC mocricontroller The above instruction loads WREG register ... View full answer
Get step-by-step solutions from verified subject matter experts
