Talk About Network

Google





Programming > Assembly Language > Re: Variable va...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 5080 of 5194
Post > Topic >>

Re: Variable values are lost

by NiTiN <k.nitin.r@[EMAIL PROTECTED] > Jul 24, 2008 at 07:55 AM

On Jul 24, 5:22=A0pm, "Wolfgang Kern" <nowh...@[EMAIL PROTECTED]
> wrote:
> I'd try a colon
>
> =A0helloMsg: db 'A'
> __
> wolfgang

Thanks for the suggestion. I still got the 0 instead of 65. I then
tried setting 'ds', as Frank suggested and that worked for me. Thanks
anyway!

Just to share something that I read from the NASM do***entation to
figure out their syntax (I did some work with TASM about half a decade
ago), it mentions that variable declarations and labels are treated
the same in NASM and you can simply specify the variable name without
using the 'offset' keyword.
 




 6 Posts in Topic:
Variable values are lost
NiTiN <k.nitin.r@[EMAI  2008-07-24 03:06:57 
Re: Variable values are lost
Frank Kotler <fbkotler  2008-07-24 08:19:45 
Re: Variable values are lost
"Wolfgang Kern"  2008-07-24 15:22:02 
Re: Variable values are lost
NiTiN <k.nitin.r@[EMAI  2008-07-24 07:48:11 
Re: Variable values are lost
Frank Kotler <fbkotler  2008-07-24 21:07:32 
Re: Variable values are lost
NiTiN <k.nitin.r@[EMAI  2008-07-24 07:55:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
localhost-V2008-12-19 Wed Jan 7 16:49:52 PST 2009.