Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 06:23:38 +0530
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        "Nic Reveles" <nreveles4@hotmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: assembly code?
Message-ID:  <84dead720605291753g64c1b899jbe86690d15e6fbde@mail.gmail.com>
In-Reply-To: <BAY105-F8E40A4E4C59CFB3C6911BEB920@phx.gbl>
References:  <BAY105-F8E40A4E4C59CFB3C6911BEB920@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720605291753g64c1b899jbe86690d15e6fbde>