jankos/io.asm

8 lines
82 B
NASM

global out_buffer
out_buffer:
mov al, [esp+8]
mov dx, [esp+4]
out dx, al
ret