please can someone tell how i will approach this Question..thanks
The contents of selected registers and memory locations are specified as follows; D1:2; D3:$80A3; D4:$91EF; D4: $91EF; A2:$00008000; SP: $9000; $ABCDEF7 stored at $8000; $00124300 at $7FFC for the following independent segments of code statements, determine the modified values (in hex) of the register, memory locations, status registers.
(i) BSET D1, (A2)
(ii) CMPI #$19F2, D4
(iii) AND.W D3, (A2)+
(iv) Move.L D3, -(A2)
(v) ROXR D1,D4
and SHow the STatue Register of X N Z V
My own ANSWER , i m not sure it is correct...
i) D1 remain unafected... x = - N= -, Z=0, v=-, C=-
V) count = 2 since D4 = $247B , So, D1 remain unchanged... x =1 N=0, Z=0, v=0, C= 1
but from Question (ii ---> iv) i am still confuse about it