Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Differentiating different parts of assembly language

Status
Not open for further replies.
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.
 

Attachments

  • Assignment 2 Darrell Ramrattan 02719254.doc
    24 KB · Views: 122
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.

hi,
The description in the doc, looks OK to me.:)
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top