forked from Rativel/BurritOS
Add a lot of comments, fix SRLI instruction in print,
This commit is contained in:
@@ -13,7 +13,7 @@ pub struct Instruction {
|
||||
pub funct7 : u8,
|
||||
pub funct7_smaller : u8,
|
||||
pub funct3 : u8,
|
||||
pub shamt : u8,
|
||||
pub shamt : u8, // shamt = imm[5:0] or imm[4:0] (depend of opcode)
|
||||
|
||||
pub imm12_I : u16,
|
||||
pub imm12_S : u16,
|
||||
|
||||
Reference in New Issue
Block a user