📄 eiregister.h
字号:
#pragma once
#include "RegisterType.h"
class EIRegister
{
public:
RegisterType BadVAddr; // memory address at which an offending memory reference occurred
RegisterType Count; // timer
RegisterType Compare; // value compared against timer that causes interrupt when they match
RegisterType Status; // interrupt mask and enable bits
RegisterType Cause; // exception type and pending interrupt bits
RegisterType EPC; // address of instruction that caused exception
RegisterType Config; // configuration of machine
EIRegister(void);
void Clear();
RegisterType& operator[](int ID);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -