ECEN 3213 Spring 2001 Quiz 1 solution

consider the following Assembly level Program:
org $E0000
main ldaa #$f0
ldab #$77
oraa #$71
lsrb
stop
org $FFFE
dc.w main
end


1. At the end of the program execution, what is the value in register A in binary? 11110001

2. At the end of the program execution, what is the value in register B in decimal? 59

3. At the end of the program execution, what is the value in Register D in hex? $F13b