14 lines
149 B
NASM
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
|