This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: of the following instructions: a) mov al, 20 immediate b) add cx, wordval direct c) mov bx, offset count immediate d) add d1 [bx] register indirect 4 pts 7. Write a data declaration directive for a sequence of 500 16-bit words, each containing the value 1000H. dw 500dup(1000h) 2 pts 8. Write a data definition statement for a list of 8-bit memory operands containing the following values: 3H, 15H, 0F6H, 11010000(binary) 2 pts List db 3h,15h, f6h, d0h 9. Write a statement that copies the location of the data segment into the DS register. Mov ax @data Mov ds ax 2 pts 10. What will be in AX after the execution of following instructions. . code mov ax, array1 ax=0010 inc ax ax=0011 add ah, 1 ax = 0111 sub ax, array2 ax=00E1 .data array1 dw 0010h, 0020h array 2 dw 0030h, 0040h 2pts...
View Full Document
- Summer '08
- Following, Trigraph, pts, X86, Programming constructs, Citroën