|
1. 写出下列指令源操作数的寻址方式(20分)
(1) mov ax,0abh
(2) mov ax,[100h]
(3) mov ax,[bx+10]
(4) mov ax,[bx][si]
(5) mov ax,val[bx]
(6) mov ax,es:[bx]
(7) mov ax,val[bx][si]
2. 在下列程序段运行后,给相应的寄存器及存储单元填入运行的十六进制结果(20分)
Mov ax,1050h
Mov bp,1000h
Mov bx,2000h
Mov [bp],al
Mov dh,20h
Mov [bx],dh
Mov dl,01h
Mov dl,[bx]
Mov cx,3000h
Hlt
AX=
BX=
CX=
DX=
字节单元(1000h)=
字节单元(2000h)=
3. 简述下面两条指令分别是什么语法错误?(20分)
MOV [BX],[SI]
MOV AX,DL
4. ARY DW 10 DUP(?) (20分)
┇
MOV AL,TYPE ARY
MOV BL,LENGTH ARY
MOV CL,SIZE ARY
上述MOV指令序列执行后的结果是什么?
5. 设某数据段:(20分)
DATA SEGMENT
ORG 20H
NUM1=8
NUM2=NUM1+10H
DA1 DB 'COMPUTER'
DB 0AH,0DH
COUNT EQU $-DA1
DA2 DW'CO','MP','UT','ER'
DATA ENDS
试回答:(1)DA1的偏移地址是:___________________
(2)COUNT的值是___________________________________
(3)DA2+5字节单元的内容是_______________________________ |
|