From e56986ece6c5950f9646b898ef70b20e8f37b4ea Mon Sep 17 00:00:00 2001 From: joethei Date: Tue, 23 Oct 2018 15:03:01 +0200 Subject: [PATCH] =?UTF-8?q?Nummern=20f=C3=BCr=20a2=20herausgefunden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/a2.asm | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/src/a2.asm b/src/a2.asm index 0a1399e..417d7de 100644 --- a/src/a2.asm +++ b/src/a2.asm @@ -1,16 +1,27 @@ org 100h cpu 8086 - jmp START -BYTE1 db 32 - db 'Hardwarenahes Programmieren' - times 4 db 0, '1' - dw 1, 2, 3, 4, 1234 - dd 1234h - -START: mov bx, BYTE1 -WDH: mv al, [bx] - out 0, al - inc bx + 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 + out 0, ax jmp WDH