%line in nasm

From: RoWsRaIrTiEo (non_at_esist.eeee)
Date: 03/17/04


Date: Wed, 17 Mar 2004 05:26:49 GMT


%line seems doesn't work in macro definition and in label line
Are there some advises?

can I use...
%line 88 cmp ax, bx
je .label
%line 89 mov ax, bx
%line 89 label:
cmp ax, cx
?
And what happen where there is not a '%line number?



Relevant Pages

  • Re: a question on cmp and sub
    ... psi wrote: ... > jb label ... "cmp" doesn't alter ebx, but the flags are set he same. ...
    (alt.lang.asm)
  • Re: Starting to learn
    ... philbo30 wrote: ... square brackets around labels to show that you want the contents of the ... label, ... cmp,0 ...
    (comp.lang.asm.x86)
  • Re: global start, global main or anything I want?
    ... the program with a _start label in it, then assembling and linking it, ... you can end with "ret". ... If we send a number to stdout, it's treated as an ascii code, and the ascii codes for the "number characters" are not the same as the number! ... mov edx, hiya_len ...
    (comp.lang.asm.x86)
  • Re: NASM problem
    ... ;given a label here.... ... mov ax, ... Nasm will do *that* quite happily. ... assembles without complaint. ...
    (comp.lang.asm.x86)
  • Re: PC boot block programming madness
    ... This is the way my compaq computer works. ... > mov sp,ax ... > label _cr0e ... > call near printstr ...
    (comp.lang.asm.x86)