Page 2 of 2
Re: getting started with PowerPC
Posted: Wed Nov 20, 2013 10:25 am
by iansjack
feare56 wrote:Ok, I was doing research on what language I could use and I noticed that NASM works with intel and PowerPC. So for those of you who are using NASM and are looking to expand the architectures their OS is supported on you won't have to learn a different assembly language.
You are mistaken. NASM only produces x86 or x86_64 code and will not produce code that will run on a PowerPC. If it did you would still need to learn PowerPC assembly language, which is very different from the x86 varieties.
Don't try and avoid the learning process; look upon it as an opportunity to expand your horizons.
Re: getting started with PowerPC
Posted: Wed Nov 20, 2013 10:28 am
by iansjack
bwat wrote:feare56 wrote:The only simulator/emulator I've used was very expensive and chosen by the client. I've forgotten the name of it. Before that came along we tested on real hardware.
Qemu supports PPC emulation, but how closely it can emulate any particular Mac I don't know.
Re: getting started with PowerPC
Posted: Wed Nov 20, 2013 12:22 pm
by Brynet-Inc
feare56 wrote:Ok, I was doing research on what language I could use and I noticed that NASM works with intel and PowerPC. So for those of you who are using NASM and are looking to expand the architectures their OS is supported on you won't have to learn a different assembly language.
No.
NASM is an x86 assembler written in C. The assembler itself can run on almost any architecture, but not the binaries it produces.
EDIT: Whoops, iansjack got here first.
Re: getting started with PowerPC
Posted: Wed Nov 20, 2013 8:58 pm
by feare56
Brynet-Inc wrote:feare56 wrote:Ok, I was doing research on what language I could use and I noticed that NASM works with intel and PowerPC. So for those of you who are using NASM and are looking to expand the architectures their OS is supported on you won't have to learn a different assembly language.
No.
NASM is an x86 assembler written in C. The assembler itself can run on almost any architecture, but not the binaries it produces.
EDIT: Whoops, iansjack got here first.
Oh, I read that wrong then. So I will continue doing more research and learn the proper assembly language. I saw that qemu has PPC emulation but is it actually supported on the platform?
Re: getting started with PowerPC
Posted: Wed Nov 27, 2013 9:12 pm
by feare56
I finally got around to doing some research and found some free ebooks if any of you are interested in supporting PPC in your operating system
http://www.ibm.com/developerworks/syste ... de-v2.html