;计算ffff:0~ffff:b单元中的数据,结果存储在dx中
assume cs:code
code segment
mov ax,0ffffh
mov ds,ax
mov bx,0
mov cx,0ch
xor dx,dx
xor ah,ah
s: mov al,[bx]
add dx,ax
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end
;计算ffff:0~ffff:b单元中的数据,结果存储在dx中
最新推荐文章于 2020-12-06 10:20:04 发布