PowerPC Assemblers? 33
tyler (asks) asks:
"I asked many people, but nobody had an answer for me, so
I figured i'd ask the most knowledgable people on the web:
Does anyone know where i can get an assembly development
environment for the PowerPC?"
I need no subject. (Score:1)
sleep deprivation kills
dammit, i want vi keys in these windows
Codewarrior? (Score:1)
As for doing assembly for Linux/PPC, I'd ask the guys working on that project, or sniff around in their mailing list archives.
Use whatever gcc uses (Score:1)
Assembly for PPC (Score:1)
MPW (Score:1)
It's called binutils... (Score:1)
Just download the GNU binutils and configure it for the appropriate host & target (in your case, probably host=Linux, target=PPC). Here's another hot tip -- they've got a couple of other packages you might be interested in: gcc & gdb, also available for a variety of different hosts and targets. Have fun...
It's called binutils... (Score:1)
http://www.objsw.com/CrossGCC/
Lots of info on how to build the tools for any target gcc supports.
PPC Asm: see Codewarrior (Score:1)
Codewarrior also has compilers for Pascal, Java, etc. And it can target PPC, 68K, JRE, Wintel, and a number of embedded systems too.
Use whatever gcc uses (Score:1)
Eeek! (Score:1)
--Lenny
//"You can't prove anything about a program written in C or FORTRAN.
It's really just Peek and Poke with some syntactic sugar."
Efficiency (Score:1)
RISC assembly? (Score:1)
mov numone,ax
add numtwo,ax
mov ax,numone
although the sources and destinations may need to be reversed. I don't think that x86 supports memory to memory operations directly.
The professor's comment about RISC being impossible to program in assembly simply shows that he has not kept current with modern technology. There was a time, about 10 years ago, when machine code needed to be carefully scheduled in order to get the best performance on RISC architectures. The MIPS line of processors were famous for requiring odd transformations of code in order to avoid stalls due dependancies on branches, arithmetic evaluation and memory accesses. With modern RISC architectures, however, the need to reschedule machine code -- in order to handle branch delay slots for instance -- is greatly reduced and RISC machine code can again be written by mere mortals. (or at least demi-gods)
- Jeff Dutky
PPC stuff - portable PASM in VBCC (Score:1)
On the amiga, at least, there is a PPC assembler included in the StormC development environment for Haage&Partner's WarpOS system. It is a Macro Assembler, with syntax and functionality simlar to Amiga 68k Macro assembler ( i.e. C-like structures)
Note that Motorola-syntax assembler for PPC defines a large number of macros that are very useful, and I find PPC assembler programming far less trying than the icky, tacked-together x86.
NOT JUST FOR AMIGAS!!!
The VBCC package includes PASM, a motorola-syntax ppc macro assembler, and is open source and written to be portable, in theory. (although vbcc is unlikely to supplant gcc in the near future).
It can produce elf ppc binaries.
PASM:
[devnull.owl.de]
http://devnull.owl.de/~frank/index_e.html
haage-Partner
www.haage-partner.com [haage-partner.com]
go to amiga pages of
www.uk.aminet.org [ic.ac.uk]
or
www.cucug.org/amiga.html [cucug.org]
and search vbcc and PPC too, if you're curious.
PASM readme (Score:1)
pasm is a portable assembler for the PowerPC processors of the 60x-series, written completely in ANSI-C. All PPC standard instructions, all 32-bit extended mnemonics
and most of the 64-bit extended mnemonics are supported.
pasm knows about nearly 50 directives. Among them are directives for macros, conditional assembly, include files, base-relative addressing (small data), etc..
Currently, these output formats are available:
Absolute. Raw format.
ELF. 32-bit, PowerPC, big endian.
Extended Hunk Format (EHF).
Amiga DOS Format.
ASM? cool . . . (Score:1)
Sources for Learning PPC Assembly (Score:1)
I had used the following texts to learn about PPC assembly:
Online guide to PPC Assembler (Score:1)
BTW, the newest version of CodeWarrior (v.5) can target Linux... Don't think it's released yet, though. Metrowerks has also announced CodeWarrior for Red Hat Linux. Although I don't have much experience with other compilers, CodeWarrior seems pretty good to me.
RISC assembly? (Score:1)
*sigh* It's really sad to me that people resort to such comments. It's like some sort of weird racism (OSism, if you will).
get over it.
get over yourself.
get over your near sightedness.
Online guide to PPC Assembler (Score:1)
PPC Assembly/environment (Score:1)
As far as PPC assembler being usable, I enjoy it more than any other processor I've used, including x86, 680x0, AVR, PIC, HC11, etc. And it really isn't too bad to optimize either...
Larry
No one ever loses by knowing too much.. (Score:2)
From Motorola's PPC FAQ (Score:1)
windows nt platform at url:
http://www.mot.com/SPS/PowerPC/products/softwar
there are also demo versions of third party compilers available from
metaware
metrowerks
diab data
green hills
the risc hotline has metaware demo copies. you could request a copy if you supply a mailing address one could be mailed to you.
finally *unsupported* gnu is available at url:
documentation: http://www.cygnus.com/pubs/gnupro/
distribution list: http://www.delorie.com