I have a C assignment where, to summarise, the inputs are assembly instructions(mips) in the form of a hexadecimal number and the program must:
1. determine if the instruction is a "load" or "store" instruction.
2. the address of the first byte in memory, as a hexadecimal number.
my problem is not so much of writing a C code to do this, but i can't even manually figure out how to determine these things from a single mips instruction. i know this is a C forum, but i'm just hoping someone may have previous experience in assembly programming and point me to the right direction.
edited