> I am hoping to find out which registers need to be set to what > for which functions, etc. Preferably 'yasm' style or > something similiar... Have you looked at the ABI spec: http://www.x86-64.org/documentation/abi.pdf See also: src/sys/amd64/amd64/exception.S, look for 'syscall'. -- FreeBSD Developer, http://people.freebsd.org/~jkoshy