MD00565-2B-MIPS32-QRC-01.01

MD00565-2B-MIPS32-QRC-01.01 - MIPS32 Instruction Set Quick...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MIPS32 ® Instruction Set Quick Reference R D D ESTINATION REGISTER R S , R T S OURCE OPERAND REGISTERS R A R ETURN ADDRESS REGISTER (R31) PC P ROGRAM COUNTER A CC 64- BIT ACCUMULATOR L O , H I A CCUMULATOR LOW (A CC31:0 ) AND HIGH (A CC63:32 ) PARTS ± S IGNED OPERAND OR SIGN EXTENSION U NSIGNED OPERAND OR ZERO EXTENSION :: C ONCATENATION OF BIT FIELDS R2 MIPS32 R ELEASE 2 INSTRUCTION DOTTED A SSEMBLER PSEUDO - INSTRUCTION P LEASE REFER TO “MIPS32 A RCHITECTURE F OR P ROGRAMMERS V OLUME II: T HE MIPS32 I NSTRUCTION S ET FOR COMPLETE INSTRUCTION SET INFORMATION . A RITHMETIC O PERATIONS ADD R D , R S , R T R D = R S + R T ( OVERFLOW TRAP ) ADDI R D , R S , CONST 16 R D = R S + CONST 16 ± ( OVERFLOW TRAP ) ADDIU R D , R S , CONST 16 R D = R S + CONST 16 ± ADDU R D , R S , R T R D = R S + R T CLO R D , R S R D = C OUNT L EADING O NES (R S ) CLZ R D , R S R D = C OUNT L EADING Z EROS (R S ) LA R D , LABEL R D = A DDRESS ( LABEL ) LI R D , IMM 32 R D = IMM 32 LUI R D , CONST 16 R D = CONST 16 << 16 MOVE R D , R S R D = R S NEGU R D , R S R D = –R S SEB R2 R D , R S R D = R S7:0 ± SEH R2 R D , R S R D = R S15:0 ± SUB R D , R S , R T R D = R S – R T ( OVERFLOW TRAP ) SUBU R D , R S , R T R D = R S – R T S HIFT AND R OTATE O PERATIONS ROTR R2 R D , R S , BITS 5 R D = R SBITS5–1:0 :: R S31:BITS5 ROTRV R2 R D , R S , R T R D = R SRT4:0–1:0 :: R S31:RT4:0 SLL R D , R S , SHIFT 5 R D = R S << SHIFT 5 SLLV R D , R S , R T R D = R S << R T4:0 SRA R D , R S , SHIFT 5 R D = R S ± >> SHIFT 5 SRAV R D , R S , R T R D = R S ± >> R T4:0 SRL R D , R S , SHIFT 5 R D = R S >> SHIFT 5 SRLV R D , R S , R T R D = R S >> R T4:0 L OGICAL AND B IT -F IELD O PERATIONS AND R D , R S , R T R D = R S T ANDI R D , R S , CONST 16 R D = R S & CONST 16 EXT R2 R D , R S , P, S R S = R SP+S-1:P INS R2 R D , R S , P, S R DP+S-1:P = R SS-1:0 NOP N O - OP NOR R D , R S , R T R D = ~(R S | R T ) NOT R D , R S R D = ~R S OR R D , R S , R T R D = R S | R T ORI R D , R S , CONST 16 R D = R S | CONST 16 WSBH R2 R D , R S R D = R S23:16 :: R S31:24
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/17/2010 for the course CMPE 200 taught by Professor Haluk during the Fall '08 term at San Jose State University .

Page1 / 2

MD00565-2B-MIPS32-QRC-01.01 - MIPS32 Instruction Set Quick...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online