Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Address Code Source cblock 0 _______ foo endc cblock 0x180 _______ footwo endc o

ID: 1924933 • Letter: A

Question

Address Code Source
cblock 0
_______ foo
endc
cblock 0x180
_______ footwo
endc
org 0x64
_______ ______ label: addwf foo,w
org 0x90
_______ _______ goto label
_______ _______
_______ _______ movf footwo,f
_______ _______ bnc label



Now this is with a pic18f4550. I think I am most confused by the wording of the question. For address do they want the address in memory where the variables are stored? The code I assume is the machine language encoding. Thanks

Explanation / Answer

yeah for getting value of variables its address has to be mentioned cblock 0 -----> cblock starting adrres is 0 cblock 0x180 -------> cblock ending address is 0x180

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote