This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: and Fig.3-6 in the text book. (a) MOV CX, 0AE 16 (b) MOV [DI], AH (c) MOV [BX] [SI], BX a) 10001011111111111 b) 1000100100011000 c) 1000101011001101 3) What is the difference in the operation of the following instructions? (a) MOV DI, AX and MOV [DI], AX (b) MOV BX, SI and MOV [BX], SI and MOV BX, [SI] a) The first one means move the contents of AX to DI. The second one means move the element from AX to DI, the destination block. b) The first one means move the contents of SI to BX. The second means add the contents SI to BX. The third means add the contents of SI to BX. 4) Encode all the five instructions in the above question 4 (a) and 4(b). a) First - 8ED8 16 Second - 8825 16 b) First - 8A24 16 Second – 8A2A 16 Third – 8A24 16...
View Full Document
- Spring '08
- Machine code, operand, Addressing mode, Jeff Brutsche Engt, Figs.4-1