Kingcom / armips

An assembler for various ARM and MIPS platforms. Builds available at http://buildbot.orphis.net/armips/
MIT License
363 stars 77 forks source link

Support for Nintendo 64 RSP, 64-bit constant defines, some other MIPS instructions #53

Closed sp1187 closed 8 years ago

sp1187 commented 8 years ago

This PR adds basic support for the vector opcodes used in the Nintendo 64 RSP. It also adds directives .dd/.doubleword and.double for defining 64-bit constants as well as some COP0 instructions and DMTC1/DMFC1.

Kingcom commented 8 years ago

Nice work! I always thought more N64 support would be great to have, so thanks a lot for adding this! Does this pull request make the platform fully supported, or are there any other N64 specifics that would need to be handled?

sp1187 commented 8 years ago

The most obvious thing missing would be the double-precision FPU instructions, possibly some other 64-bit ops are missing as well. Otherwise, I don't think there is anything significant that needs to be added. RDP commands could probably be done with the macro function.

Kingcom commented 8 years ago

Okay, that's good to know. Double precision instructions look easy to add, would basically just have to turn the format specifier into a variable. I'll look into doing that later on.