Ch 1: 4. What are the opcode, data type, and operand(s) in this instruction: MOV
ID: 3348665 • Letter: C
Question
Ch 1:
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. Repeat question 29 for BX equal to 9A00H.
Explanation / Answer
PLEASE ASK ONLY ONE QUESTION AT A TIME
4.
12.BSWAP EBX: It reverses the byte order of the destination register EBX i,e, 0-7 bits are swapped with 24 to 31, 8-15 bits are swapped with 16 to 23 and so on
OPCODE DATATYPE OPERANDS MOV byte AH -register and 7-immediateRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.