flat assembler
Message board for the users of flat assembler.
Index
> Main > Portability |
Author |
|
Kain 09 Jul 2005, 06:23
It's going to be considerable difficult-impossible to make your library compatible between various hardware while still using FASM (x/86) assembly.
Your best bet in this situation is to use GAS, then work out the different operating system calls through conditional assembly to produce static or dynamic libraries supported by different vendors. If you drop the architecture condition and stick with x/86, your job becomes a lot easier! Consider also that Apple is switching to x/86 processors so it becomes a simpler task of coding the various system calls for windows/linux/mac which will pretty much cover 99% of the desktop market. _________________ :sevag.k |
|||
09 Jul 2005, 06:23 |
|
Madis731 10 Jul 2005, 22:46
Now when FASM has moved to 64bit, too - you should have your starting point set ready.
If you are thinking of a final executable, that every platform/OS combination can run, the the first part of it must be 100% compatible between them, but even BIOS's don't get close enought to this kind of interoperatability you are shorthanded. You must think of a code that on one machine runs as bytecode and on the other means nop's or sth... ...effectively skipping "wrong" parts until arriving at the "right" ones This gets philosophical |
|||
10 Jul 2005, 22:46 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.