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: sys.recv bl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 14 Topic 5156 of 5187
Post > Topic >>

Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)

by Herbert Kleebauer <klee@[EMAIL PROTECTED] > Oct 8, 2008 at 06:11 PM

Rod Pemberton wrote:
> "Herbert Kleebauer" <klee@[EMAIL PROTECTED]
> wrote in message


> > > > I'm not sure wheter this are the same sockets I used in a simple
> > > > X demo. But here is how I did it (using NASM):
> > >
> > > "using NASM"...?
> > >
> > > >         ; ******************** get socket handle
> ***************************
> > > >         moveq.l 0,-[sp]         ; no protocol specified
> > > >         moveq.l 1,-[sp] ; 1: SOCK_STREAM
(/usr/include/linux/net.h)
> > > ...
> > > >   .10: rts.l
> > >
> > > Looks like HK asm to me...   :)
> >
> > then it would be:
> >
> >             moveq.l #0,-(sp)         ; no protocol specified
> >             moveq.l #1,-(sp) ; 1: SOCK_STREAM
(/usr/include/linux/net.h)
> >   ...
> >       _10: rts.l
> >
> 
> Are there only the 3 changes from old style to new style?

What's old and what's new style. I was told, that people can't read
my assembly source written in Windela syntax. Because it seems that more
people can read NASM syntax, I converted some of my demos to NASM.
NASM's macro system isn't powerful enough to directly assembly Windela
source code, but it at least can assembly code which looks more like
Windela code than the awful Intel syntax. But I only wrote macros
for the instructions and addressing modes used in this demos, not
for the complete instruction set. At least now nobody can claim I
post an exotic assembly syntax because it's directly compiled by 
NASM and therefore this would mean to claim, that NASM uses an exotic
assembly syntax.
 




 14 Posts in Topic:
sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Hamlin <tin.cans.and.s  2008-10-06 19:42:09 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Herbert Kleebauer <kle  2008-10-07 09:43:56 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
"Rod Pemberton"  2008-10-07 16:22:07 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Herbert Kleebauer <kle  2008-10-08 00:23:38 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
"Rod Pemberton"  2008-10-07 22:32:55 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Herbert Kleebauer <kle  2008-10-08 18:11:49 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
"Rod Pemberton"  2008-10-09 17:19:46 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Herbert Kleebauer <kle  2008-10-10 11:53:36 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
"Rod Pemberton"  2008-10-12 08:48:26 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Frank Kotler <fbkotler  2008-10-07 19:57:21 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
"Rod Pemberton"  2008-10-07 21:53:16 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Hamlin <tin.cans.and.s  2008-10-07 16:23:51 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Chuck Crayne <ccrayne@  2008-10-07 17:43:46 
Re: sys.recv blues (semi-crosspost from comp.lang.asm.x86)
Frank Kotler <fbkotler  2008-10-08 00:52:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Wed Dec 3 16:38:50 CST 2008.