Re: Port binding under linux in ASM



On Apr 19, 11:38 pm, Chuck Crayne <ccra...@xxxxxxxxxx> wrote:
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.

Ah. I'm using NASM.

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.

This is fantastic information, Chuck. Thanks again.

.



Relevant Pages

  • Re: HLA v1.90 is now available on Webster
    ... FASM is a good Assembler written by a guy called Thomasz Gritszar. ... FASM's code easier to read than the RosAsm source code, ... HLA is an absurd HLL Pre-Parser ...
    (alt.lang.asm)
  • Re: instruction rescheduler?
    ... assembly language have never written code in another assembler. ... > -- register allocation and keeping track of which register is what, ... Register allocation, globally, is one of those things a machine usually ... Assembly programmers don't want to believe that a machine could ...
    (comp.lang.asm.x86)
  • Re: *Exe Programm aus Assembler heraus =?UTF-8?B?YXVzZsO8aHJlbiAv?= =?UTF-8?B?NGJo?=
    ... lege in den Umschlag den Brief; lege in die Sachtel den Umschlag; lege in den Safe die Schachtel; ... lege den Brief in den Umschlag; lege den Umschlag in die Schachtel; lege die Schachtel in den Safe; ... die restlichen Register haben. ... Man benutzt gerade einen Assembler, ...
    (de.comp.lang.assembler.x86)
  • Re: Gonzales, Another one bites the dust.
    ... Besides, FASM fails this test. ... Herbert's assembler is an entirely different beast. ... why doesnt FASM feature such "top-quality editors and debuggers"? ... Rosasm shortfall of being unable to export or import static libraries. ...
    (alt.lang.asm)
  • Re: Help me about this question.
    ... No doubt you *can't*, clown. ... FASM application. ... complaining about the quality of the HLA standard library code? ... niche for people who want an assembler syntax that is similar to NASM ...
    (alt.lang.asm)