1. asm.ex: how to put sring in structure
- Posted by Talvitie <smtoa at SAUNALAHTI.FI> Apr 01, 2000
- 540 views
Hi Pete and others! One question for you Pete conserning your asm.ex ex. in TASM you can do this: Message db "Hello!$" but how do you so it with asm.ex? can it be done? what question mark means here? ex. Message db ? Thanks, Talvitie
2. Re: asm.ex: how to put sring in structure
- Posted by Talvitie <smtoa at SAUNALAHTI.FI> Apr 01, 2000
- 521 views
Forget the 1st question. I figured ir out myself. But still being wondering the question mark... --Talvitie >Hi Pete and others! > >One question for you Pete conserning your asm.ex > >ex. in TASM you can do this: > >Message db "Hello!$" > >but how do you so it with asm.ex? can it be done? > > >what question mark means here? > >ex. Message db ? > > >Thanks, >Talvitie
3. Re: asm.ex: how to put sring in structure
- Posted by stab master <stabmaster_ at HOTMAIL.COM> Apr 01, 2000
- 557 views
> >what question mark means here? > > > >ex. Message db ? > > The question mark means that the value of the variable is undefined at start-up. In a "real" assembler program this is useful when using arrays (ex. bigarray dw 10000 dup(?) ), as the undefined data won't take up as much space in the resulting executable as data with a predefined value would (at least not with tasm/wdosx or masm). ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
4. Re: asm.ex: how to put sring in structure
- Posted by Darth Maul <Prog_MAtt at YAHOO.COM> Apr 01, 2000
- 557 views
It's quite easy to get a string into memory. Try some code like this: sequence text atom ptr text="Hello, world!$" -- Define the message ptr=allocate(length(text)) -- Carve a niche in memory the size of our message poke(ptr,text) -- Stick the message in there