For each of the following instructions assume the initial re
For each of the following instructions assume the initial register contents are: AX = 10C2H, BX = 5AB4H, CX = C176H, DX = 99A0H, and SI = 49ADH. Give the contents of each register that has data transferred to it by the instruction or sequence of instructions: mov cx, bx xchg dx, cx mov si, ax mov bx, ax mov ax, bx
Solution
contants of register BX 5AB4H=Z\'
note : register contents are converted from hexadecimal to ascii values .
2:XCHG REG, memory
memory, REG
REG, REG Exchange values of two operands. SO DX WILL HAVE THE VALUE OF CX ,
SO THE CONTENTS OF REGISTER :Av
3:
register contants =Â
4:mov bx,ax :
contants of register :Â
mov ax,bx:
contants of register :Z´
