currsos/user/curros.asm

12 lines
124 B
NASM
Raw Normal View History

2018-12-04 06:29:45 +00:00
SYSCALL_VEC equ 51
SECTION .text
BITS 64
GLOBAL syscall
syscall:
; rdi = function number
; rsi = args
int SYSCALL_VEC
ret