Nummern für a2 herausgefunden

This commit is contained in:
Johannes Theiner 2018-10-23 15:03:01 +02:00
parent 14f2ba66c1
commit e56986ece6
1 changed files with 22 additions and 11 deletions

View File

@ -1,16 +1,27 @@
org 100h org 100h
cpu 8086 cpu 8086
jmp START
BYTE1 db 32 jmp WDH
db 'Hardwarenahes Programmieren'
times 4 db 0, '1' ;0=00111111
dw 1, 2, 3, 4, 1234 ;1=00000110
dd 1234h ;2=01011011
;3=01001111
START: mov bx, BYTE1 ;4=01100110
WDH: mv al, [bx] ;5=01101101
out 0, al ;6=01111101
inc bx ;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 jmp WDH