代码搜索结果
找到约 10,000 项符合
Memory 的代码
memory.c
#include "my_head.h"
#include "mem_addr.h"
#include "carddef.h"
//#define _DEBUG
#ifdef _DEBUG
#include "Debug.h"
#endif
/********************************************/
#define MEM_CS
memory.h
#ifndef _MEMORY_H_
#define _MEMORY_H_
#ifdef __SYSTEM_VAR__
#define EXT
#else
#define EXT extern
#endif
///////////////////////////////////////////////////////////
/////////////////////
memory.h
#ifndef MEMORY_H
#define MEMORY_H
#include
#include
#include
enum style{INTS,CHARS,EMPTY};
class Memory
{
public:
BYTE CodeSegment[40];
int pCodeNail;
Mem
memory.cpp
#include "memory.h"
Memory::Memory()
{
pCodeNail=0;
pDataNail=0;
pVarNail=0;
}
int Memory::InsertData(int values)
{
BYTE tempValue;
tempValue=(BYTE)((values&0xff00)>>8);
DataSegment
memory.c
/*----------------------------------------------------------------------------*/
/* memory.c - memory management routines for sga code */
/*------------------------------------
memory.inc
;;*****************************************************************************
;;*****************************************************************************
;;
;; FILENAME: Memory.inc
;;
memory.c
/*
* linux/mm/memory.c
*
* (C) 1991 Linus Torvalds
*/
/*
* demand-loading started 01.12.91 - seems it is high on the list of
* things wanted, and it should be easy to implement. - Linus
*/
/*
* 需求加载是
memory.h
/*
* NOTE!!! memcpy(dest,src,n) assumes ds=es=normal data segment. This
* goes for all kernel functions (ds=es=kernel space, fs=local data,
* gs=null), as well as for all well-behaving user programs (
memory.h
#define n 10 /*假定系统允许的最大作业数量为n*/
#define m 10 /*假定系统允许的空闲区表最大为n*/
#define minisze 100
struct
{
float address; /*已分分区起始地址*/
float length; /*已分分区长度,单位为字节*/
int flag;