1
2
3
4
5
6
7
8
9
10
11
12
|
;; abi definition file for x86 linux 64-bit
; vim: ft=nasm
; syscall numbers - syscall table must be created first!
%include "calls.x86.fbsd.32.s"
; extremely stupid freebsd-ism: expects the syscall to
; come from a function
_syscall: int 0x80
ret
%define sys.call call _syscall
|
|
1
2
3
4
5
6
7
8
9
10
11
12
|
;; abi definition file for x86 linux 64-bit
; vim: ft=nasm
; syscall numbers - syscall table must be created first!
%include "calls.s"
; extremely stupid freebsd-ism: expects the syscall to
; come from a function
_syscall: int 0x80
ret
%define sys.call call _syscall
|