12 lines
124 B
NASM
12 lines
124 B
NASM
|
SYSCALL_VEC equ 51
|
||
|
|
||
|
SECTION .text
|
||
|
BITS 64
|
||
|
|
||
|
GLOBAL syscall
|
||
|
|
||
|
syscall:
|
||
|
; rdi = function number
|
||
|
; rsi = args
|
||
|
int SYSCALL_VEC
|
||
|
ret
|