So if mips syscalls are R-type instructions, that means they should have an opcode and a funct code, correct?
I understand the opcode should be binary 0x000000 since it's an R-type instruction, but how do I find the funct code for various mips syscalls?
I need to know the funct codes for these syscalls:
syscall #print integer
syscall #print string
syscall #terminate
I've only found one resource across the web that has a funct code but it seems general: https://www.d.umn.edu/~gshute/mips/rtype.xhtml
It says the funct code for syscall is : 001100
Is this really the funct code for all three of those ^? (print int, print string, terminate)
I don't think it should be but I'm not completely sure.