mem.cpp
来自「本软件实现了模拟cpu的基本工作原理和工作过程」· C++ 代码 · 共 50 行
CPP
50 行
// MEM.cpp: implementation of the MEM class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "AM.h"
#include "MEM.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
MEM::MEM(): AR(CRect(845,55,912,85),"AR:"),
MEMERY(CRect(845,100,953,253),"内存:")
{
GAR.x=872;
GAR.y=21;
GAR.w=12;
GAR.h=34;
GAR.type=1;
GAR.arrow1=0;
GAR.arrow2=1;
GAR.shine=0;
WRITE.x=920;
WRITE.y=21;
WRITE.w=12;
WRITE.h=79;
WRITE.type=1;
WRITE.arrow1=0;
WRITE.arrow2=1;
WRITE.shine=0;
READ.x=935;
READ.y=22;
READ.w=12;
READ.h=79;
READ.type=1;
READ.arrow1=1;
READ.arrow2=0;
READ.shine=0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?