Änderungen
This commit is contained in:
parent
ab78c01145
commit
d22365bf42
|
@ -31,13 +31,13 @@ res db 0x0
|
|||
jmp WDH
|
||||
|
||||
WDH: in ax, INPUT
|
||||
mov res, ax
|
||||
mov res, [ax]
|
||||
and ax, 00001111b;get second nibble
|
||||
out LED, ax;debug, output to leds
|
||||
push ax;write result to stack
|
||||
|
||||
|
||||
mov ax, res
|
||||
mov ax, [res]
|
||||
mov cl, 0x4
|
||||
sar ax, cl;shift right 4 times
|
||||
;and ax, 00001111b;
|
||||
|
|
Loading…
Reference in New Issue