ppasm
nulleight
Posts: 1
Hi everyone, I am realively new to propeller. Since I am a linux user and not very comfortable with java assembler, I've written my own one in C(may be not such a good Idea after all since I miss templates), targeting POSIX2008 systems. It schould be BIG-ENDIAN compatible (I tested it on sparc4v).
What works:
- some limited expressions(no parentheses yet), you can do stuff like label = 13 or label = label1 + label2 or label long 13 :other = :other - label.
- I think the code generation is ok now (need more testing)
I currently limited the assembler to 512 Instructions will expand later as needed. The error messages are not very helpful yet, just try ./ppasm -v5 <infile> to see what went wrong. The loader works, i made the receiving with poll() (mac versions < 10.5 have some problems there).
Anyway, there are probably better alternatives and this code is still alpha imho and I need some help to test it. But I plan to use it and improve as need arises(and time alows). You can find/add directives in parse.c in parse_directives().
You can get it with
git clone git://git.berlios.de/ppasm
or from attachment.
Have fun.
What works:
- some limited expressions(no parentheses yet), you can do stuff like label = 13 or label = label1 + label2 or label long 13 :other = :other - label.
- I think the code generation is ok now (need more testing)
I currently limited the assembler to 512 Instructions will expand later as needed. The error messages are not very helpful yet, just try ./ppasm -v5 <infile> to see what went wrong. The loader works, i made the receiving with poll() (mac versions < 10.5 have some problems there).
Anyway, there are probably better alternatives and this code is still alpha imho and I need some help to test it. But I plan to use it and improve as need arises(and time alows). You can find/add directives in parse.c in parse_directives().
You can get it with
git clone git://git.berlios.de/ppasm
or from attachment.
Have fun.