flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > FASM differences between Menuet and Windows versions |
Author |
|
Ville 13 Dec 2012, 09:15
Menuet and Windows fasm versions generate same code from source. Only difference might be with source code paths. So start by using the same directory for included files. And yes, so far, everything is written with fasm-assembly.
|
|||
13 Dec 2012, 09:15 |
|
Tomasz Grysztar 17 Dec 2012, 11:35
One of the fasm's principles is the "same source - same output" rule, which means that fasm will produce exactly the same output from a given source text no matter what environment (in particular: what OS) it is run in. The only difference between running fasm on different systems lies in the way in which they provide the source text - the standards for providing file paths may differ, for example. So if your file includes some other files, on different OS it may be necessary to adjust the file paths - and no other differences should arise.
|
|||
17 Dec 2012, 11:35 |
|
matefkr 03 Feb 2013, 23:05
What if outside function calls are implemented differently in different os-s or for example data is implemented differently. it is possible to create source where the programcode will differ. perhaps in lenght of jumps.. longer jumps used by the compiler automatically, because for example it jumps over something wich would be just fit enough in one os, to have short jump, while other os would recquire there more data. But function calls themselves are different so you cant produce the same thing for different os-es. and since they are different their size might differ so blah blah.
I would replace all the official instruction to 1-to -1 machine code associations (but im lazy so im asking you). |
|||
03 Feb 2013, 23:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.