HariboteOS/day21/app/a_asm.asm
2021-05-07 22:50:06 +08:00

14 lines
149 B
NASM

[BITS 32]
GLOBAL api_putchar, api_end
api_putchar:
MOV EDX, 1
MOV AL, [ESP+4]
INT 0x40
RET
api_end:
MOV EDX, 4
INT 0x40