Created
September 9, 2014 22:56
-
-
Save pmachapman/b3762861210a82c790c5 to your computer and use it in GitHub Desktop.
Simple "Y or N" assembly routine for MS-DOS 5 or below. Compile with: debug < yorn.asm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
N YORN.COM | |
A 100 | |
MOV AH, 08 | |
INT 21 | |
CMP AL, 59 | |
JZ 0116 | |
CMP AL, 79 | |
JZ 0116 | |
CMP AL, 6E | |
JZ 0116 | |
CMP AL, 4E | |
JZ 0116 | |
JMP 0100 | |
MOV AH, 4C | |
INT 21 | |
RCX | |
1A | |
W | |
Q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment