Chapter 3
4. What are the opcode, data type, and operand(s) in this instruction:
MOV AH, 7

12.What does this instruction accomplish?
BSWAP EBX

14.Registers AX, BX, CX, and DX contain, respectively, 1111H, 2222H, 3333H, and 4444H. What are the contents of each register after this sequence of instructions?
PUSH AX
PUSH CX
PUSH BX
POP DX
POP AX
POP BX

22. If EAX contains 00000200H, EBX contains 00000003H, and the data segment contains 1000H, what is the effective address generated by these instructions?
(a) MOV ECX,[EAX]
(b) MOV ECX,[EBX][EAX]
(c) MOV ECX,[EAX][EBX*8]
(d) MOV ECX,[ESI][EDI]

30. IF BX contains 9A00H, what are the results of these two instructions?
(a) MOVSX EBX, BX
(b) MOVZX EBX, BX

Chapter 4
8. If DX contains 00EEH and AX contains 0980, what is the result of:
MOV BX, 0F0H
DIV BX

12. What is the final value of AL in this series of instructions?
MOV AL, 27H
MOV BL, 37H
ADD AL, BL
DAA

14. If AL contains 55H and BL contains AAH, what is the result of :
(a) AND AL, BL
(b) OR AL, BL
(c) XOR, BL, AL

22. How many times does the NOP instruction execute in the following sequence?
	MOV	CX,20H
XYZ:   PUSH CX
	MOV   CX, 9
ABC:   NOP
	LOOP ABC
	POP   CX
	LOOP XYZ

52. Registers AX, BX, and CX contain the respective values 2000H, 1000H, and 3000H. What is the result of CMPXCHG BX, CX?