⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcspimdoc.cpp

📁 Spim软件的一些源码。其中有Xspim的
💻 CPP
字号:
// SPIM S20 MIPS simulator.
// Definitions for the SPIM S20.
//
// Copyright (C) 1990-2004 by James Larus (larus@cs.wisc.edu).
// ALL RIGHTS RESERVED.
// Changes for DOS and Windows versions by David A. Carley (dac@cs.wisc.edu)
//
// SPIM is distributed under the following conditions:
//
//   You may make copies of SPIM for your own use and modify those copies.
//
//   All copies of SPIM must retain my name and copyright notice.
//
//   You may not sell SPIM or distributed SPIM in conjunction with a
//   commerical product or service without the expressed written consent of
//   James Larus.
//
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
// IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE.

/* $Header: /Software/SPIM/SPIM/PCSpim/PCSpimDoc.cpp 1     1/02/05 8:03p Larus $ */

// PCSpimDoc.cpp : implementation of the CPCSpimDoc class
//

#include "stdafx.h"
#include "PCSpim.h"

#include "PCSpimDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPCSpimDoc

IMPLEMENT_DYNCREATE(CPCSpimDoc, CDocument)

BEGIN_MESSAGE_MAP(CPCSpimDoc, CDocument)
	//{{AFX_MSG_MAP(CPCSpimDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPCSpimDoc construction/destruction

CPCSpimDoc::CPCSpimDoc()
{
	// TODO: add one-time construction code here

}


CPCSpimDoc::~CPCSpimDoc()
{
}


BOOL CPCSpimDoc::OnNewDocument()
{
  if (!CDocument::OnNewDocument())
    return FALSE;

  // TODO: add reinitialization code here
  // (SDI documents will reuse this document)

  return TRUE;
}


/////////////////////////////////////////////////////////////////////////////
// CPCSpimDoc serialization

void CPCSpimDoc::Serialize(CArchive& ar)
{
  if (ar.IsStoring())
    {
      // TODO: add storing code here
    }
  else
    {
      // TODO: add loading code here
    }
}


/////////////////////////////////////////////////////////////////////////////
// CPCSpimDoc diagnostics

#ifdef _DEBUG
void CPCSpimDoc::AssertValid() const
{
  CDocument::AssertValid();
}


void CPCSpimDoc::Dump(CDumpContext& dc) const
{
  CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CPCSpimDoc commands

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -