The PS1 has a coprocessor 2, it has extra instructions. The SDK tells me:
#define gte_ldv0( r0 ) __asm__ volatile ( \
"lwc2 $0, 0( %0 );" \
"lwc2 $1, 4( %0 )" \
: \
: "r"( r0 ) )
a) I'm not shure how to translate this
the first operand is a register, the second is the parameter r0
b)
1)
I added
to ./compiler/mips/opcode.inc
and
to ./compiler/mips/strinst.inc
now he recodnizes the Instruction, is it enough? Pls help me with a) because I don't knew how to do the operands the right way and when we will see if the instruction has the correct implementation