CMPSC 64 Lecture Notes - Lecture 8: Opcode, Memory Address, Operand
Document Summary
Instruction format types: r vs i vs j. There are macros for more specific instructions in mips. This is actually 2 mips instructions: lui , upper-part-of memory address ori , , lower-part-of memory address lui = load upper immediate. This is all due to the fact that i-types of instructions can only deal with sixteen (16) bits of data at once and mips memory words are actually 32 bits. 32 bits are divided up into 5 fields, aka the r-type format: op code. The combination of the opcode and the funct code tell the processor what. The combination of the opcode and the funct code tell the processor what it is supposed to be doing. Using the mips reference card, write the 32 bit instruction (using the r- Express you answer in the hexadecimal add , , addu , , sub , , .