org directive

SMarF at gmx.de SMarF at gmx.de
Wed Jul 5 01:44:57 PDT 2006


Thank you for this hint. Even nasm sets the offset of a variable not to zero even after ORG 0 - isn't this a bug? This is my test-code:
  dw 0x1234
org 0
  nop
targ:
  mov dx,targ
is assembled to
  34 12 - 90 - BA 03 00
instead of
  34 12 - 90 - BA 01 00
what I would have been expected after the "org 0".

Regards - Stefan

-------- Original-Nachricht --------
Datum: Wed, 05 Jul 2006 10:12:41 +0200
Von: Robert Riebisch <rr at bttr-software.de>
An: yasm-devel at tortall.net
Betreff: Re: org directive

> SMarF at gmx.de wrote:
> 
> > What I'm irritated is: why is the offset of msg not 0x0E, even after the
> org 0 directive?
> 
> I don't know, but did you already look at misc\exebin.mac from
> nasm-0.98.39.zip?
> 
> Robert Riebisch
> -- 
> BTTR Software
> http://www.bttr-software.de/
> _______________________________________________
> yasm-devel mailing list
> yasm-devel at tortall.net
> http://cvs.tortall.net/mailman/listinfo/yasm-devel

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the yasm-devel mailing list