-
Notifications
You must be signed in to change notification settings - Fork 0
/
memory.h
22 lines (20 loc) · 1.21 KB
/
memory.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Sogang University *
* Department of Computer Science and Engineering *
* *
* Subject name: System Programming *
* Project title: [3] SIC/XE Machine - Linking Loader *
* *
* Author: Inho Kim *
* Student ID: 20161577 *
* *
* File name: memory.h *
* File description: Header file for memory related tasks. *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
short mem[MEM_SIZE]; // virtual memory (1MB)
void dumpCMD(INPUT_CMD); // COMMAND: dump
void editCMD(INPUT_CMD); // COMMAND: edit
void fillCMD(INPUT_CMD); // COMMAND: fill
void resetCMD(); // COMMAND: reset