Presentation is loading. Please wait.

Presentation is loading. Please wait.

Review Questions Chapters 9-11. 1.What TUTOR command is used to enter a string of ASCII bytes into memory? /MA 2.What are the names of the 8086 index.

Similar presentations


Presentation on theme: "Review Questions Chapters 9-11. 1.What TUTOR command is used to enter a string of ASCII bytes into memory? /MA 2.What are the names of the 8086 index."— Presentation transcript:

1 Review Questions Chapters 9-11

2 1.What TUTOR command is used to enter a string of ASCII bytes into memory? /MA 2.What are the names of the 8086 index registers? SI DI

3 3.The 8086 address space contains how many bytes? 2 20 = 1 Mbyte

4 4.What is the missing segment address? 264F:18D3 = _________:6543 264F 18D3 27DC3 -6543 2188

5 5.What is the missing offset address? 264F:18D3 = 1A47:_________ 264F 18D3 27DC3 -1A47 D953

6 6.If register AL contains the value DAH, then after the instruction SHL AL,1 is executed, what will the value in AL be? 1 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 0 B 4 7.In Question 6 what is the final value of the carry flag? 1

7 8.After the statements MOV AL,36H XOR AL,0FFH are executed, what will the value in register AL be? 0 0 1 1 0 1 1 0 1 1 1 1 1 1 0 0 1 0 0 1 C 9

8 9.After the statements MOV AL,0DBH AND AL,6EH are executed, what will the value in accumulator AL be? 1 1 0 1 1 0 1 1 0 1 1 0 1 1 1 0 0 1 0 0 1 0 1 0 4 A

9 10.The product resulting from the instruction MUL CX will contain how many bits? 32

10 11.After the statements MOV AL,8AH OR AL,25H are executed, what will the value in register AL be? 1 0 0 0 1 0 1 0 0 0 1 0 0 1 0 1 1 0 1 0 1 1 1 1 A F

11 12.What is the missing displacement in the following branching instruction? 1023 75 ____ JNE 101BH 1023 75 __ 1025 101B -1025 FFF6 F6

12 13.The instruction DIV BL will store the remainder in what register? AH

13 14.After the statements MOV AL,0E9H SUB AL,0AAH are executed, what will the value in register AL be? AA 1 0 1 0 1 0 1 0 -AA 0 1 0 1 0 1 1 0 +E9 1 1 1 0 1 0 0 1 0 0 1 1 1 1 1 1 E9 -AA 3F 15.In Question 14, what will the final value of the carry flag be? 0 Because E9 is larger than AA (unsigned) 16.In Question 14, what will the final value of the overflow flag be? 0

14 17.The following instruction is at offset address 120B. 120B 74 A3 JE LP1 What is the offset address of LP1? 120B 74 A3 120D +FFA3 11B0 Note sign extend

15 18.To set the cursor to column 0, row 24 you can set DL = 0, DH = 18h, BH = 0, AH = 2 and call what instruction? INT 10H 19.When you assemble a.ASM file using masm, what type of files are produced?.OBJ.LST 20.What type of file is produced by the linker?.EXE

16 21.After the statement 3456 E8 35 00 CALL SUB1 is executed, what value will be on top of the stack? 3459 22.In Question 21, what is the address of SUB1? 3459 +0035 348E


Download ppt "Review Questions Chapters 9-11. 1.What TUTOR command is used to enter a string of ASCII bytes into memory? /MA 2.What are the names of the 8086 index."

Similar presentations


Ads by Google