Add a couple more small binaries
This commit is contained in:
12
writeio.asm
Normal file
12
writeio.asm
Normal file
@@ -0,0 +1,12 @@
|
||||
BITS 16
|
||||
CPU 8086
|
||||
|
||||
_start:
|
||||
mov bp, sp
|
||||
mov si, [bp+6]
|
||||
mov dx, [si]
|
||||
xor ax, ax
|
||||
mov si, [bp+4]
|
||||
mov al, [si]
|
||||
out dx, al
|
||||
retf 4
|
Reference in New Issue
Block a user