START:
mov ah,0 ;AH <=00h
mov al,DATA1 ;AL <=08h
add al,DATA2 ;AL <=0Dh
aaa ;AH <=01h, AL <=03h
add ax,3030h ;AH <='1' AL <='3'
mov dl,ah ;DL <='1'
mov dh,al ;DH <='3'
mov ah,2
int 21h ;'1'表示
mov ah,2
mov dl,dh ;DL <='3'
int 21h ;'3'表示
mov ax,4c00h
int 21h ;終了
DATA1 byte 8
DATA2 byte 3
|