Nummern für a2 herausgefunden
This commit is contained in:
parent
14f2ba66c1
commit
e56986ece6
33
src/a2.asm
33
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
|
||||
|
|
Loading…
Reference in New Issue