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