1 MIPS funct (5:0) sr1 s ra s 11 v srlv s rav jalr movz movn syscall break sync mfhi mthi mflo mtlo mult multu div divu add addu sub subu and or xor nor s It sltu t ge tgeu t It t 1 tu teq tne (2 funct (5:0) add. subf mul.f div.f s qrt. abs mov. neg.f round. w. exa- Deci- deci- mal Char- acter SOH STX ETX ENQ ACK BEL vr CR so DC 1
MIPS (1) MIPS (2) MIPS funct (5:0) add. s ub.f mul div/ sqrt. abs/ mov. neg./ Hexa- Deci- deci- mal ASCII Hexa- Deci- Exponent Fraction Object opcode (3 :26) jai beq lone blez bgtz addi addiu s Iti sltiu andi ori xori (2) 1b Ibu 1 hu I wr sh SWI SWr cache 11 1 wc 1 Iwc2 pref Idcl Idc2 sc swcl swc2 s dc 1 sdc2 funct (5:0) s rl s ra s I Iv s r Iv ...
M I P S Reference Data CORE INSTRUCTION SET FOR-NAME, MNEMONIC Add actct Add Immediate addi Add Imm. Unsigned addiu Add Unsigned addu And and And Immediate andi
•MIPS requires alignment for memory accesses •A 32-bit word must be located and accessed using a word aligned address •This implies that the low-order two bits of a word address must both be zeros
MIPS Reference Sheet Basic Instruction Formats Register 0000 00ss ssst tttt dddd d000 00ff ffff R s, t, d are interpreted as unsigned Immediate oooo ooss ssst tttt iiii iiii iiii iiii I i is interpreted as two’s complement Instructions
From Patterson and Hennessy, Computer Organization and Design, 4th ed. MIPS Reference Data Card (“Green Card”) 1. Pull along perforation to separate card 2. Fold bottom side (columns 3 and 4) together.