Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly Language > Re: ****t bindi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 15 Topic 4961 of 5156
Post > Topic >>

Re: ****t binding under linux in ASM

by Chuck Crayne <ccrayne@[EMAIL PROTECTED] > Apr 19, 2008 at 10:38 PM

On Sat, 19 Apr 2008 21:38:40 -0700 (PDT)
tin.cans.and.string@[EMAIL PROTECTED]
 wrote:

> Seeing as they're not explicitly pointed to by any register at
> the time of the syscall, I couldn't see that there was much use
> specifically defining them as data.

They are components of the sparms field, which is pointed to by the ecx
register. The association is done with a technique in Fasm which may
have to be changed a bit if you are using some other assembler.

Specifically, Fasm allows the following declaration,

virtual at sparms
	p0	dd	?
	p1	dd	?
	p2	dd	?
	p3	dd	?
	p4	dd	?
	p5	dd	?
end virtual

which is similar to a union or common declaration.

-- 
Chuck 
http://www.pacificsites.com/~ccrayne/charles.html
 




 15 Posts in Topic:
Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-19 11:01:19 
Re: Port binding under linux in ASM
Chuck Crayne <ccrayne@  2008-04-19 12:28:06 
Re: Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-19 14:46:48 
Re: Port binding under linux in ASM
Chuck Crayne <ccrayne@  2008-04-19 15:41:50 
Re: Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-19 15:53:39 
Re: Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-19 21:38:40 
Re: Port binding under linux in ASM
Chuck Crayne <ccrayne@  2008-04-19 22:38:56 
Re: Port binding under linux in ASM
Frank Kotler <fbkotler  2008-04-20 07:52:58 
Re: Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-20 06:45:59 
Re: Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-20 06:52:43 
Re: Port binding under linux in ASM
Chuck Crayne <ccrayne@  2008-04-20 13:07:58 
Re: Port binding under linux in ASM
Chuck Crayne <ccrayne@  2008-04-20 13:21:20 
Re: Port binding under linux in ASM
Chuck Crayne <ccrayne@  2008-04-20 13:24:30 
Re: Port binding under linux in ASM
Evenbit <nbaker2328@[E  2008-04-24 12:02:26 
Re: Port binding under linux in ASM
tin.cans.and.string@[EMAI  2008-04-24 13:03:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 15:57:14 CDT 2008.