The document is a reference sheet for the MIPS instruction set architecture subset used in CS 241. It contains:
1) A table listing the binary encoding for common MIPS instructions like add, sub, mult, div, lw, sw, slt, beq and bne along with their operands and function.
2) Notes about immediate operands being two's complement signed integers and how storing to address 0xFFFF000C prints the byte to stdout while loading from 0xFFFF0004 reads the next byte from stdin.
3) Explanations of the hi, lo registers used for the mult and div instructions and how branch instructions modify the program counter based on comparisons.
The document is a reference sheet for the MIPS instruction set architecture subset used in CS 241. It contains:
1) A table listing the binary encoding for common MIPS instructions like add, sub, mult, div, lw, sw, slt, beq and bne along with their operands and function.
2) Notes about immediate operands being two's complement signed integers and how storing to address 0xFFFF000C prints the byte to stdout while loading from 0xFFFF0004 reads the next byte from stdin.
3) Explanations of the hi, lo registers used for the mult and div instructions and how branch instructions modify the program counter based on comparisons.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as RTF, PDF, TXT or read online from Scribd
The document is a reference sheet for the MIPS instruction set architecture subset used in CS 241. It contains:
1) A table listing the binary encoding for common MIPS instructions like add, sub, mult, div, lw, sw, slt, beq and bne along with their operands and function.
2) Notes about immediate operands being two's complement signed integers and how storing to address 0xFFFF000C prints the byte to stdout while loading from 0xFFFF0004 reads the next byte from stdin.
3) Explanations of the hi, lo registers used for the mult and div instructions and how branch instructions modify the program counter based on comparisons.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as RTF, PDF, TXT or read online from Scribd