DOSBOX8086汇编一直显示no end,但我加了end,还是没用。
DATA SEGMENT
INCOME DW ?
TAX DW ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:
MOV AX,DATA
MOV DS,AX
MOV AH 01H
INT 21H
SUB AL,30H
MOV BL,AL
MOV BH,0
MOV INCOME,BX
MOV AX,INCOME
CMP AX,30000
JB SHUI1
CMP AX,90000
JB SHUI2
CMP AX,300000
JB SHUI3
CMP AX,500000
JB SHUI4
Jmp SHUI5
SHUI1:MOV BX,0.05
MUL BX
MOV TAX,BX
JMP SHUCHU
SHUI2:SUB AX,30000
MOV BX,0.1
MUL BX
ADD BX,1500
MOV TAX,BX
JMP SHUCHU
SHUI3:SUB AX,90000
MOV BX,0.2
MUL BX
ADD BX,7500
MOV TAX,BX
JMP SHUCHU
SHUI4:SUB AX,300000
MOV BX,0.3
MUL BX
ADD BX,49500
MOV TAX,BX
JMP SHUCHU
SHUI5:SUB AX,500000
MOV BX,0.35
MUL BX
ADD BX,109500
MOV TAX,BX
JMP SHUCHU
SHUCHU:MOV AH,02H
MOV AL,TAX
ADD AL,30H
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START