flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Non-printable characters in strings

Author
Thread Post new topic Reply to topic
booter



Joined: 08 Dec 2006
Posts: 67
booter 18 May 2009, 07:18
We can make a string like that
Code:
str db "abc",09,"de",10,13,0    

Then we can make a call like
Code:
stdcall someproc,str    
, but not call the same proc like
Code:
stdcall someproc,"abc",09,"de",10,13    

It would be nice if we could do it for ex like this (similar to Delphi)
Code:
stdcall someproc,"abc"#09"de"#10#13    
However any other syntax with the same capabilities would be also OK.

Thanks
Post 18 May 2009, 07:18
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 18 May 2009, 07:23
Use angle brackets:
Code:
stdcall someproc,<"abc",09,"de",10,13>    
Post 18 May 2009, 07:23
View user's profile Send private message Visit poster's website Reply with quote
booter



Joined: 08 Dec 2006
Posts: 67
booter 20 May 2009, 07:01
Thanks
Post 20 May 2009, 07:01
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.