memory.h
来自「mini mips 小型mips软件」· C头文件 代码 · 共 17 行
H
17 行
#pragma once
#include <map>
#include "RegisterType.h"
using namespace std;
class Memory
{
map<unsigned, int>Mem;
unsigned gp;
public:
Memory();
void clear();
void Save(int address,union RegisterType Register);
unsigned Malloc(int size);
union RegisterType Load(int address);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?