Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL SMALL
- .STACK 100H
- .DATA
- .CODE
- MAIN PROC
- ;1ST
- MOV AH,1
- INT 21H
- MOV BL,AL
- ;2ND
- MOV AH,1
- INT 21H
- MOV CL,AL
- ;newline
- MOV AH,2
- MOV DL,0AH
- INT 21H
- MOV DL,0DH
- INT 21H
- CMP BL,CL
- JG GREAT
- MOV AH,2
- MOV DL,BL
- INT 21H
- JMP END_IF
- GREAT:
- MOV AH,2
- MOV DL,CL
- INT 21H
- END_IF:
- MAIN ENDP
- END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement