A free, python-based assembler for the Ubicom SX series, based on Parallax mnemonics.
I originally wrote psxAsm so I could collaborate on a project with a fellow who was using Parallax/Ubicom-style mnemonics. It was considered a hack, with only a subset of the real assembler's functionality enabled. I was planning to move to gpasm, a MASM clone.
That was, until I saw how ugly the Microchip mnemonics were. Retch. The pain of maintaining my own assembler was small compared to the serious hurt of using bizarre mnemonics which only thinly veiled the actual opcode structure. Suddenly all the mnemonic overloading which I'd been cursing during the composition of psxAsm made perfect sense.
The current release is kind of rough-- local labels don't work correctly, using $ to refer to the current PC isn't implemented, and sometimes the macros and EQU do slightly unexpected things. Don't expect this to compile any random assembly you find out there. It's fine for the small stuff, though. There's no particular documentation, but you can use the docs for Parallax's assembler as a guide.
psxAsm.py [options] [filename]
Options:
-o, --output=filename Name of output file (default: stdout)
-f, --format=formatName Format of output file (hex)
-h, --help Display this message
| Version | Download |
|---|---|
| 0.1 | psxasm-0.1.tar.gz |