key.scr
n key.com
e 0100 b4 00 cd 16 3c 7a 77 06 3c 60 76 02
e 010c 24 df 3c 00 75 02 88 e0 b4 4c cd 21
rcx
0018
w
q
61 = "a" = 0110 0001
7A = "z" = 0111 1100
41 = "A" = 0100 0001
5A = "A" = 0101 1100
DF = 1101 1111
JA = Jump if Above ถ้าสูงกว่า
JBE = Jump if Below
JNZ = Jump if Not Zero
| C:\>debug key.com
-u
0C53:0100 B400 MOV AH,00
0C53:0102 CD16 INT 16
0C53:0104 3C7A CMP AL,7A
0C53:0106 7706 JA 010E
0C53:0108 3C60 CMP AL,60
0C53:010A 7602 JBE 010E
0C53:010C 24DF AND AL,DF
0C53:010E 3C00 CMP AL,00
0C53:0110 7502 JNZ 0114
0C53:0112 88E0 MOV AL,AH
0C53:0114 B44C MOV AH,4C
0C53:0116 CD21 INT 21
|