额 略多..
1.
0 , 1 ,2 , 3 , 4 , 5 , 30,31,32 ,33,34,35 , 2 ,2 ,2 , 10H,0, 9fH, ffH, 0 , 0,
2. 有很多不合法操作....
3.MOV AX, 0 ; AX = 0
DEC AX ; AX = FFFFH
ADD AX, 7FFFH ; AX = 7FFEH
ADD AX, 2 ; AX = 8000H
NOT AX ; AX =7FFFH
SUB AX, 0FFFFH ; AX = 8000H
ADD AX, 8000H ; AX = 0
OR AX, 0BFDFH ; AX = 0BFDFH
AND AX, 0EBEDH ; AX = 0BBCDH
XCHG AH, AL ; AX = 0CDBBH
SAL AX, 1 ; AX = 9B76H
RCL AX, 1 ; AX = 6EEDH
4.判断输入的数是否在 0-9之间
是则输出 Y 否则输出 N
4.
assume cs:code , ds:data
data segment
X dw 1
Y dw 2
Z dw 3
W dw 4
Q dw 5
T1 dw 0
T2 dw 0
data ends
code segment
start:
mov ax,data
mov ds,ax
mov ax,Y
mov bx,Z
mul ax,bx
mov bx,X
mov cx,W
add bx,cx
mov cx,0
adc cx,0
sub bx,ax
sub cx,dx
mov ax,bx
mov dx,cx
div Q
mov T1,ax
mov T2,dx
mov ax,4c00h
int 21h
code ends
end start
想冲进微软得好好学啊