flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > source code configuration |
Author |
|
coconut 04 Nov 2006, 15:23
well that depends on your chosen format. if you specify format pe then 32 bit, format pe64 64 bit, format mz 16 bit, etc. if no format is specified then flat binary file is produced in 16 bit (well check the manual i believe its 16 bit)
|
|||
04 Nov 2006, 15:23 |
|
llaurrentt 04 Nov 2006, 15:31
coconut wrote: well that depends on your chosen format. if you specify format pe then 32 bit, format pe64 64 bit, format mz 16 bit, etc. if no format is specified then flat binary file is produced in 16 bit (well check the manual i believe its 16 bit) You did not understand me, I want to do some conditional based on these informations, like in the imaginary following sample: Code: if use16 mov ax, value else if use32 mov eax, value else if use64 mov rax, value end if endif end if |
|||
04 Nov 2006, 15:31 |
|
LocoDelAssembly 04 Nov 2006, 16:45
Copy the idea of Win32axp.inc
Code: virtual at 0 xchg eax,eax detected_16bit = $-1 end virtual if detected_16bit format PE GUI 4.0 end if However I don't know how to detect the current format, just the current mode. Maybe using a macro named "format"? Sorry I'm in the middle of a Gentoo instalation so I can't test the posibility now |
|||
04 Nov 2006, 16:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.