dramrattan
Member
Identify the comments, operands, mnemonics, labels, and directives in the following PIC16F877assembly code:
C EQU 0x20 ; store the variable C at location 0x020
movlw 0x04 ; initialise W to 0x04
loop: movwf C
addwf C, W
goto loop
sleep
END
I attempted this question in the attached file. Could anyone verify it for me please.
C EQU 0x20 ; store the variable C at location 0x020
movlw 0x04 ; initialise W to 0x04
loop: movwf C
addwf C, W
goto loop
sleep
END
I attempted this question in the attached file. Could anyone verify it for me please.