Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL SMALL
- .STACK 100H
- .DATA
- .CODE
- MAIN PROC
- MOV AH,1
- INT 21H
- MOV BL,AL
- CMP BL,'1'
- JE EQL1
- CMP BL,'3'
- JE EQL1
- EQL1:
- MOV AH,2
- MOV DL,'O'
- INT 21H
- JMP END_CASE
- CMP BL,2
- JE EQL1
- CMP BL,4
- JE EQL1
- EQL2:
- MOV AH,2
- MOV DL,'E'
- INT 21H
- JMP END_CASE
- END_CASE:
- MAIN ENDP
- NEW PROC
- MOV AH,2
- MOV DL,0AH
- INT 21H
- MOV DL,0DH
- INT 21H
- RET
- NEW ENDP
- END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement