Message board for the users of flat assembler.
> Main > Newbie question
I found some code in the Freebasic-Forums.
#Macro Bloat( Size ) asm ' Switch to/Create the specified section .section .Bloated ' Pad it with chars to inflate the size .fill Size, 1, 0 End asm #EndMacro
I'm using Purebasic, which uses fasm and allows inline assembler.
Does anybody know how to translate the above code to fasm
(Of course just the 2 asm lines)
I don't know which assembler Freebasic uses, so...
|18 Jun 2007, 22:07||
> #Macro Bloat( Size )
Publishing M$'s most saint secret ? You'll hang soon
> I don't know which assembler Freebasic
GAS (like GCC)
> I'm using Purebasic, which uses fasm and allows inline assembler.
And the problem is ?
> Does anybody know how to translate the above code to fasm
db size dup (0)
But above "code" is bad (compresses to nothing ), there is a better way:
Download > 10 GiB of public domain crap, put it all together in one file
using TAR, name it crap.xxx ... and use for your "development"
Bug Nr.: 12345
Title: Hello World program compiles to 100 KB !!!
Status: Closed: NOT a Bug
|19 Jun 2007, 00:04||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar.
Powered by rwasa.