Brian Silverman created an alternate set of mnemonics for the PIC assembly language.
They are easier to use because the opcode tells you the addressing mode. For example, [ldan 3] means, load the number 3 into the A register and [lda 3] means load from memory location 3 into the A register (we use A for accumulator instead of Microchip's W).
Here is a reference to commands (cobbed from the MIT site, where the work was originally posted.
Here is a java version of the assembler.
It produces hex values that can be downloaded into a PIC using the Microchip PICstart.Usage example: java Picasm foo.asm 3ff1
The first
arg is the source filename. The second arg is the value you'd like
the config register to be, in hex. 0x3ff1 is a good value for
a PIC16F84. The output is a file with a .hex suffix.
Shell script: if you are running from Unix, the following shell script is helpful. In this example, the PicAsm classes are located in ~/Documents/picprog/trans/ .
#!/bin/sh
java -cp ~/Documents/picprog/trans/ Picasm ${1} ${2}