eiregister.h

来自「mini mips 小型mips软件」· C头文件 代码 · 共 18 行

H
18
字号
#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 + =
减小字号Ctrl + -
显示快捷键?