diff --git a/src/a2.asm b/src/a2.asm index 417d7de..dd8bcec 100644 --- a/src/a2.asm +++ b/src/a2.asm @@ -1,25 +1,30 @@ org 100h cpu 8086 +;0=00111111=3F +;1=00000110=6 +;2=01011011=5B +;3=01001111=4F +;4=01100110=66 +;5=01101101=6D +;6=01111101=7D +;7=00000111=7 +;8=01111111=7F +;9=01101111=6F +;A=01110111=77 +;B=11111111=FF +;C=00111001=39 +;D=10111111=BF +;E=01111001=79 +;F=01110001=71 + + +; 0 1 2 3 4 5 6 7 8 9 A B C D E F +SEG db 0x3F, 0x6, 0x5B, 0x4F, 0x66, 0x6D, 0x7D, 0x7, 0x7F, 0x6F, 0x77, 0xFF, 0x39, 0xBF, 0x79, 0x71 + jmp WDH -;0=00111111 -;1=00000110 -;2=01011011 -;3=01001111 -;4=01100110 -;5=01101101 -;6=01111101 -;7=00000111 -;8=01111111 -;9=01101111 -;A=01110111 -;B=11111111 -;C=00111001 -;D=10111111 -;E=01111001 -;F=01110001 WDH: in ax, 0 out 90h, ax