Question

I've seen there are specific formats to convert MIPS assembly instruction to machine code. There should be similar procedure to convert PIC assembly to machine code manually. Can anyone kindly provide me the documentation related to this?

Was it helpful?

Solution

The Microchip datasheets all have instruction set references, including how instructions are encoded. Note that most series are completely different (i.e. 16 and 18 series are not remotely similar) so make sure you get the right datasheet.

Here's an example for the 16F627A, taken from page 118 of the PIC16F627A datasheet: PIC16 instruction set reference

OTHER TIPS

Something like this manual should do.

But can't resist: why do you want to do it manually?

You are probably looking for MIPS32® M4K® core instruction set. If so than you can find everything about on MIPS homepage.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top