Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .STACK 100H
- .DATA
- MSG1 DB "A$"
- MSG2 DB "PASS$"
- MSG3 DB "FAIL!"
- N DB 40
- .CODE
- PROC MAIN
- MOV DX, @DATA
- MOV DS, DX
- CMP N,90
- JGE PRINTA
- CMP N,55
- JGE PRINTP
- JMP PRINTX
- PRINTA:
- MOV AH,9
- LEA DX,MSG1
- INT 21H
- JMP EXIT
- PRINTP:
- MOV AH,9
- LEA DX,MSG2
- INT 21H
- JMP EXIT
- PRINTX:
- MOV AH,9
- LEA DX,MSG3
- INT 21H
- JMP EXIT
- EXIT:
- MOV AH,4CH
- INT 21H
- ENDP MAIN
- END MAIN
- RET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement