Question: Please do questions 2 & 3 Question #1 Convert the following assembly program into machine code LDAA #$A1 STAA $1000 INCA LDAB $1000 DECB ABA
Please do questions 2 & 3 Question #1 Convert the following assembly program into machine code LDAA #$A1 STAA $1000 INCA LDAB $1000 DECB ABA Here: Bra Here Question # 2 (a) in Question # 1 , determine the values of PC, A, B, N, Z, V, C after each instruction (b) Verify your answers by using CodeWarrior Question # 3 Assume that the program in Question 1 is saved in memory starting at location SCO0A. Draw a memory diagram showing the contents (in hex) of the memory locations in the range SCOOA through SC022. Question #1 Convert the following assembly program into machine code LDAA #$A1 STAA $1000 INCA LDAB $1000 DECB ABA Here: Bra Here Question # 2 (a) in Question # 1 , determine the values of PC, A, B, N, Z, V, C after each instruction (b) Verify your answers by using CodeWarrior Question # 3 Assume that the program in Question 1 is saved in memory starting at location SCO0A. Draw a memory diagram showing the contents (in hex) of the memory locations in the range SCOOA through SC022
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
