I captured the 3 number variable in the register. But when want to display in console program. I found out that the value of "tempTotal" variable is exceed and cause the error "Relative jump of range by 0001h bytes", how doI fix it? (btw, i using doxbox ver.0.74).
.....
temp DB ? ;
remainder DB ? ;
quotient DB ? ;
tempRebate DB ? ;
tempSST DB ? ;
tempTotal DB ? ;
....
MOV AL, totalPrice
MOV BL, tempRebate
ADD AL, BL
MOV BL, tempSST
ADD AL, BL
MOV tempTotal, AL
MOV AL, tempTotal ;
AAM
ADD AX, 3030H ;
PUSH AX ;
MOV DL, AH ;
INT 21H
POP DX ;
MOV AH, 02H ;
INT 21H