flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Mentol 08 Jun 2006, 22:20
and second question:
how i can setup ALIGN parameter (for EXE), to get size of EXE less that 2.048 bytes for example? (visual studio link.exe linker can parse /align:... parameter) iam russian sorry for bad eng ) |
|||
![]() |
|
Reverend 08 Jun 2006, 22:58
Manual wrote: To declare the local variable you can use the local macroinstruction, followed by one or more declarations separated with commas, each one consisting of the name for variable followed by colon and the type of variable – either one of the standard types (must be upper case) or the name of data structure. For example: And the second question. Fasm doesn't allow changing that align value. MS Linker will create a file with it changed, but it won't execute. The only files with smaller align values (ie. smaller than the value which fasm defaults) can be drivers. Fasm puts a value which is the smallest possible for executables and dlls. |
|||
![]() |
|
Quantum 09 Jun 2006, 02:11
Quote:
You can compile your sources to MS COFF object format (luckily FASM supports MS COFF output) and then use link.exe to build the final exe, which won't run, as Reverend already explained. A bit of additional info (from a Matt Pietrek's article): Quote:
ЗЫ: А тут вообще много русских, кажется ![]() |
|||
![]() |
|
Mentol 09 Jun 2006, 12:28
thanks
> ЗЫ: А тут вообще много русских, кажется много) |
|||
![]() |
|
Vasilev Vjacheslav 09 Jun 2006, 16:37
как китайцев
![]() |
|||
![]() |
|
dead_body 10 Jun 2006, 15:19
больше
![]() |
|||
![]() |
|
f0dder 10 Jun 2006, 19:01
For the MS linker, use /FILEALIGN instead of /ALIGN.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.