flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
beppe85 06 Jan 2005, 01:22
AFAIK, it can be compiled to run on Mac. The frustation will be that the code generated for the x86 processor line, and Mac are on top of PowerPC processors. Your MacFasm will assemble but the code produced will not run(natively, with an emulator I guess it will).
It's more or less so. |
|||
![]() |
|
f0dder 06 Jan 2005, 01:27
It will be a lot easier for you to get C/C++ code running in a MAC than x86 assembly... this is because there's a LOT of systems offerring C/C++ platforms, while x86 assembly is tied to the x86 (ie, PC) platform. Of course there's VirtualPC for MAC, but that's sort of cheating
![]() |
|||
![]() |
|
Diode 06 Jan 2005, 02:04
beppe85 wrote: The frustation will be that the code generated for the x86 processor line, and Mac are on top of PowerPC processors. I don't care about the PowerPC processors. They're old now. The G5 is the king of the market now. _________________ Mac for productivity. Unix for development. Windows for solitaire. |
|||
![]() |
|
Diode 06 Jan 2005, 02:10
I just saw a utility that converted Fasm into C code.
C code is portable, isn't it? Therefore, could I successfully convert a program's source code written in Fasm, into C, and then put that on a Mac and then compile that? I would try it, but I've been learning Fasm for 2 days now, and so I haven't learned enough (yet) to make a program worthwhile to try it on. I would assume it would work. However, that is purely speculation. Has anyone tried it? _________________ Mac for productivity. Unix for development. Windows for solitaire. |
|||
![]() |
|
crc 06 Jan 2005, 11:04
Quote: I just saw a utility that converted Fasm into C code. What was the name of this utility? I'd like to see how well it works on some of my programs. Quote: C code is portable, isn't it? Therefore, could I successfully convert a program's source code written in Fasm, into C, and then put that on a Mac and then compile that? C programs that use only libc are pretty portable; but a Win32 program written in C isn't going to compile/run on a Mac without some significant changes. So C's portability is dependent on the libraries you use. |
|||
![]() |
|
Diode 14 Jan 2005, 01:34
oic That clears it up pretty good.
Also, I forgot that the Gx line of processors are still PowerPC processors, just like Pentium 4s are still x86. I was referring to the pre G days, but after reading what I posted, it would be irreleveant what version of PowerPC proessor someone programs for unless you are programming for 32, or 64 bit processors, then it might be different. Just wanted to fix that. - Diode _________________ Mac for productivity. Unix for development. Windows for solitaire. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.