Kiến trúc máy tính - MIPS Green Sheet (HUST)
- Pages
- 2
- Format
- Size
- 236 KB
- Trường
- Đại học Bách khoa Hà Nội
- Views
- 0
- Comments
- 0
- Lượt tải
- 0
Tài liệu tham khảo nhanh (Green Sheet) về tập lệnh MIPS, bao gồm các lệnh số học, lệnh dấu phẩy động, định dạng lệnh, và quy ước đặt tên thanh ghi. Đây là tài liệu hỗ trợ học tập về kiến trúc bộ xử lý MIPS.
Frequently asked questions
Is this document free?
Yes. “Kiến trúc máy tính - MIPS Green Sheet (HUST)” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 2 pages, for the course Kiến trúc máy tính. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
- Document name
- Kiến trúc máy tính - MIPS Green Sheet (HUST)
- School / Course
- Đại học Bách khoa Hà Nội · Kiến trúc máy tính
- Content
- Đây là tài liệu tham khảo nhanh về tập lệnh MIPS, bao gồm các lệnh cốt lõi, định dạng lệnh và thông tin thanh ghi. Nó được thiết kế để hỗ trợ việc học và thực hành kiến trúc máy tính.
- Table of contents
- ARITHMETIC CORE INSTRUCTION SET
- FLOATING-POINT INSTRUCTION FORMATS
- REGISTER NAME, NUMBER, USE, CALL CONVENTION
- PSEUDOINSTRUCTION SET
- BASIC INSTRUCTION FORMATS
- Pages
- 2 pages
- Uploaded by
- lienhejb
Generating preview...
Description
MIPS Reference Data Card (“Green Card”) 1. Pull along perforation to separate card 2. Fold bottom side (columns 3 and 4) together ARITHMETIC CORE INSTRUCTION SET 1 M I P S Reference Data CORE INSTRUCTION SET FORNAME, MNEMONIC MAT OPERATION (in Verilog) add Add R R[rd] = R[rs] + R[rt] OPCODE / FUNCT (Hex) (1) 0 / 20hex addi I R[rt] = R[rs] + SignExtImm (1,2) Add Imm. Unsigned addiu I R[rt] = R[rs] + SignExtImm (2) Add Immediate Add Unsigned addu R R[rd] = R[rs] + R[rt] And and R R[rd] = R[rs] & R[rt] And Immediate andi I Branch On Equal beq I Branch On Not Equal bne I 0 / 24hex Jump j J Jump And Link jal J R[31]=PC+8;PC=JumpAddr Jump Register jr ll R PC=R[rs] R[rt]={24’b0,M[R[rs] I +SignExtImm](7:0)} R[rt]={16’b0,M[R[rs] I +SignExtImm](15:0)} I R[rt] = M[R[rs]+SignExtImm] Load Upper Imm. lui I R[rt] = {imm, 16’b0} Load Word lw I R[rt] = M[R[rs]+SignExtImm] Nor nor R R[rd] = ~ (R[rs] | R[rt]) Or or R R[rd] = R[rs] | R[rt] Or Immediate ori I Set Less Than slt R R[rd] = (R[rs] < R[rt]) ? 1 : 0 Load Halfword Unsigned Load Linked lhu 9hex 0 / 21hex R[rt] = R[rs] & ZeroExtImm if(R[rs]==R[rt]) PC=PC+4+BranchAddr if(R[rs]!=R[rt]) PC=PC+4+BranchAddr PC=JumpAddr Load Byte Unsigned lbu 8hex (3) chex (4) 4hex (4) (5) (5) 5hex 2hex 3hex 0 / 08hex (2) (2) (2,7) 24hex 25hex 30hex fhex (2) 23hex 0 / 27hex 0 / 25hex R[rt] = R[rs] | ZeroExtImm (3) dhex 0 / 2ahex Shift Left Logical sll Shift Right Logical srl R[rt] = (R[rs] < SignExtImm)? 1 : 0 (2) ahex R[rt] = (R[rs] < SignExtImm) bhex I ?1:0 (2,6) R R[rd] = (R[rs] < R[rt]) ? 1 : 0 (6) 0 / 2bhex 0 / 00hex R R[rd] = R[rt] << shamt 0 / 02hex R R[rd] = R[rt] >> shamt Store Byte sb I Store Conditional sc I Store Halfword sh I Store Word sw I Subtract sub R R[rd] = R[rs] - R[rt] Subtract Unsigned subu Set Less Than Imm. slti Set Less Than Imm. sltiu Unsigned Set Less Than Unsig. sltu FLOATING-POINT INSTRUCTION FORMATS I M[R[rs]+SignExtIm
Kiến trúc máy tính - MIPS Green Sheet (HUST)
Generating preview...
MIPS Reference Data Card (“Green Card”) 1. Pull along perforation to separate card 2. Fold bottom side (columns 3 and 4) together ARITHMETIC CORE INSTRUCTION SET 1 M I P S Reference Data CORE INSTRUCTION SET FORNAME, MNEMONIC MAT OPERATION (in Verilog) add Add R R[rd] = R[rs] + R[rt] OPCODE / FUNCT (Hex) (1) 0 / 20hex addi I R[rt] = R[rs] + SignExtImm (1,2) Add Imm. Unsigned addiu I R[rt] = R[rs] + SignExtImm (2) Add Immediate Add Unsigned addu R R[rd] = R[rs] + R[rt] And and R R[rd] = R[rs] & R[rt] And Immediate andi I Branch On Equal beq I Branch On Not Equal bne I 0 / 24hex Jump j J Jump And Link jal J R[31]=PC+8;PC=JumpAddr Jump Register jr ll R PC=R[rs] R[rt]={24’b0,M[R[rs] I +SignExtImm](7:0)} R[rt]={16’b0,M[R[rs] I +SignExtImm](15:0)} I R[rt] = M[R[rs]+SignExtImm] Load Upper Imm. lui I R[rt] = {imm, 16’b0} Load Word lw I R[rt] = M[R[rs]+SignExtImm] Nor nor R R[rd] = ~ (R[rs] | R[rt]) Or or R R[rd] = R[rs] | R[rt] Or Immediate ori I Set Less Than slt R R[rd] = (R[rs] < R[rt]) ? 1 : 0 Load Halfword Unsigned Load Linked lhu 9hex 0 / 21hex R[rt] = R[rs] & ZeroExtImm if(R[rs]==R[rt]) PC=PC+4+BranchAddr if(R[rs]!=R[rt]) PC=PC+4+BranchAddr PC=JumpAddr Load Byte Unsigned lbu 8hex (3) chex (4) 4hex (4) (5) (5) 5hex 2hex 3hex 0 / 08hex (2) (2) (2,7) 24hex 25hex 30hex fhex (2) 23hex 0 / 27hex 0 / 25hex R[rt] = R[rs] | ZeroExtImm (3) dhex 0 / 2ahex Shift Left Logical sll Shift Right Logical srl R[rt] = (R[rs] < SignExtImm)? 1 : 0 (2) ahex R[rt] = (R[rs] < SignExtImm) bhex I ?1:0 (2,6) R R[rd] = (R[rs] < R[rt]) ? 1 : 0 (6) 0 / 2bhex 0 / 00hex R R[rd] = R[rt] << shamt 0 / 02hex R R[rd] = R[rt] >> shamt Store Byte sb I Store Conditional sc I Store Halfword sh I Store Word sw I Subtract sub R R[rd] = R[rs] - R[rt] Subtract Unsigned subu Set Less Than Imm. slti Set Less Than Imm. sltiu Unsigned Set Less Than Unsig. sltu FLOATING-POINT INSTRUCTION FORMATS I M[R[rs]+SignExtIm
Read full document
- Document name
- Kiến trúc máy tính - MIPS Green Sheet (HUST)
- School / Course
- Đại học Bách khoa Hà Nội · Kiến trúc máy tính
- Content
- Đây là tài liệu tham khảo nhanh về tập lệnh MIPS, bao gồm các lệnh cốt lõi, định dạng lệnh và thông tin thanh ghi. Nó được thiết kế để hỗ trợ việc học và thực hành kiến trúc máy tính.
- Table of contents
- ARITHMETIC CORE INSTRUCTION SET
- FLOATING-POINT INSTRUCTION FORMATS
- REGISTER NAME, NUMBER, USE, CALL CONVENTION
- PSEUDOINSTRUCTION SET
- BASIC INSTRUCTION FORMATS
- Pages
- 2 pages
- Uploaded by
- lienhejb
Comments (0)
No comments yet. Be the first!
Slide Kiến trúc máy tính - GV. Nguyễn Kim Khánh (HUST)
Bài tập Kinh tế học quốc tế (Có Đáp án)
15 bài tập Xác suất thống kê (có Lời giải)
Trắc nghiệm Đại số tuyến tính (Có Đáp án)
Bài tập Kinh tế nguồn nhân lực (KTNNL) 1 (Có lời giải)
K5 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K2 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K3 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K4 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K1 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
Comments (0)
No comments yet. Be the first!