CoolPotOS/apps/libs/syscall.asm

16 lines
181 B
NASM
Raw Normal View History

2024-07-14 00:54:27 +08:00
global put_char
2024-08-14 21:58:29 +08:00
global debug_test
2024-07-14 00:54:27 +08:00
put_char:
push eax
mov eax,0x01
2024-07-30 22:50:03 +08:00
int 31h
2024-07-14 00:54:27 +08:00
pop eax
2024-08-14 21:58:29 +08:00
ret
debug_test:
push edx
mov edx,0x02
int 31h
pop edx
2024-07-14 00:54:27 +08:00
ret