please provide correct solutions. please write neat Problem 1: Assume the following value of ACCA (CPU register "...
Problem 1: Assume the following value of ACCA (CPU register "A") and memory contents Answer the questions below. Explain all answers. (15 points) ACCA E4 memory Address Data Sc001 03 Sco02 C2 For the instruction ADDA SCO03 Sco03 FE a. Explain and show how this instruction is executed by the 68HC12 (6 points) the Coutents of SCo03 A and storing it back in A b. Show the values in the CCR register bits ADDA affects all bits in the CCR (3 points) 1ULI11O 2 2 22 TLOOIO V c. Assume this is an unsigned operation-determine the answer (in decimal) and state it is valid and why. (3 points) 42 not taliL (arg Ot f d. Assume this is a signed operation - determine the answer (in decimal) and state whether it is valid and why. (3 points) 0001 1011 O00000u Undid snrane Page 1 of 6 30 becanse
Problem 1: Assume the following value of ACCA (CPU register "A") and memory contents Answer the questions below. Explain all answers. (15 points) ACCA E4 memory Address Data Sc001 03 Sco02 C2 For the instruction ADDA SCO03 Sco03 FE a. Explain and show how this instruction is executed by the 68HC12 (6 points) the Coutents of SCo03 A and storing it back in A b. Show the values in the CCR register bits ADDA affects all bits in the CCR (3 points) 1ULI11O 2 2 22 TLOOIO V c. Assume this is an unsigned operation-determine the answer (in decimal) and state it is valid and why. (3 points) 42 not taliL (arg Ot f d. Assume this is a signed operation - determine the answer (in decimal) and state whether it is valid and why. (3 points) 0001 1011 O00000u Undid snrane Page 1 of 6 30 becanse