Reference no: EM132116109
Question # 1
Assume X = $2CD1, Y =$ACBF, A = $EA, B = $FB and CCR = $FF.
a) What are the contents of the stack, SP register at the end of the following program segment? LDS #$01FF PSHA PSHB PSHY
b) Assume that the following instructions are executed after part (a), What are the contents of the stack, SP, A, B, X, Y register at the end of the following program segment?
PULX
PULA
PULB
Question # 2 Given the following code,
LDAA #69
LDAB #72
ABA
a) What are the contents of register A after the execution of this code?
b) Is it valid unsigned operation?
c) Is it valid unsigned operation?