Re: Assembly programming under FreeBSD

2000-06-03 Thread G. Adam Stanislav
At 20:50 03-06-2000 -0400, Thomas M. Sommers wrote: >It isn't the same as Linux's. Linux passes arguments to syscalls in >registers, while FreeBSD puts them on the stack. It is often possible to write asm code that works on both: You put the values in the registers and then you push the register

Re: Assembly programming under FreeBSD

2000-06-03 Thread Matthew Dillon
:> interface, does this simplfy Linux emulation? Hinder it? :> :> Also, this is more general, what does "CALL 7:0" do? :> :> Sorry for the silly question, I got curious. : :I could be totally off base, but I'm pretty sure (from memory) that :the lcall interface is the ICBS interface (some stand

Re: Assembly programming under FreeBSD

2000-06-03 Thread Thomas M. Sommers
James Howard wrote: > > Having just read Konstantin Boldyshev's introduction to FreeBSD assembly > programming, I have a couple of questions. > > When I looked through some code in the source tree (and with a little > background from the article), I noticed that INT 80 interface appears to > be

Re: Assembly programming under FreeBSD

2000-06-03 Thread Alfred Perlstein
* James Howard <[EMAIL PROTECTED]> [000603 08:21] wrote: > Having just read Konstantin Boldyshev's introduction to FreeBSD assembly > programming, I have a couple of questions. > > When I looked through some code in the source tree (and with a little > background from the article), I noticed that

Assembly programming under FreeBSD

2000-06-03 Thread James Howard
Having just read Konstantin Boldyshev's introduction to FreeBSD assembly programming, I have a couple of questions. When I looked through some code in the source tree (and with a little background from the article), I noticed that INT 80 interface appears to be newer than an older interface, "CAL