From 8f8e86737b5b50b2073857444ab0bd36faddfdd5 Mon Sep 17 00:00:00 2001 From: joethei Date: Sat, 13 Oct 2018 10:36:49 +0200 Subject: [PATCH] a0, a1 vorbereitet --- a0.asm | 7 +++++++ a1.asm | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 a0.asm create mode 100644 a1.asm diff --git a/a0.asm b/a0.asm new file mode 100644 index 0000000..1dd8333 --- /dev/null +++ b/a0.asm @@ -0,0 +1,7 @@ + org 100h + cpu 8086 + +START: mov al, 8 + mov bl, 20 + add al, bl + jmp START diff --git a/a1.asm b/a1.asm new file mode 100644 index 0000000..0a1399e --- /dev/null +++ b/a1.asm @@ -0,0 +1,16 @@ + 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