a0, a1 vorbereitet

This commit is contained in:
Johannes Theiner 2018-10-13 10:36:49 +02:00
parent 0a36a1ef0e
commit 8f8e86737b
2 changed files with 23 additions and 0 deletions

7
a0.asm Normal file
View File

@ -0,0 +1,7 @@
org 100h
cpu 8086
START: mov al, 8
mov bl, 20
add al, bl
jmp START

16
a1.asm Normal file
View File

@ -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