GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
opcodes.h
Go to the documentation of this file.
1
#ifndef OPCODES_H
2
#define OPCODES_H
3
4
/* Operation codes and instruction formats
5
* --------------------------------------- */
6
7
/* P format instructions */
8
9
#define ENS_OPCODE 0x02
10
#define ENS_2NDCHAR 0x10
11
12
#define INS_OPCODE 0x02
13
#define INS_2NDCHAR 0x20
14
15
#define LOFF_OPCODE 0x02
16
#define LOFF_2NDCHAR 0x40
17
18
#define LON_OPCODE 0x02
19
#define LON_2NDCHAR 0x80
20
21
#define LOLL_OPCODE 0x02
22
#define LOLL_2NDCHAR 0x91
23
24
#define NOP2_OPCODE 0x07
25
#define HLT_OPCODE 0x0A
26
27
/* PM format instructions */
28
29
#define JIE_OPCODE 0x53
30
#define JIE_2NDCHAR 0x20
31
32
#define JS2_OPCODE 0x53
33
#define JS2_2NDCHAR 0x40
34
35
#define JS1_OPCODE 0x53
36
#define JS1_2NDCHAR 0x80
37
38
#define JRT_OPCODE 0x41
39
#define JC_OPCODE 0x43
40
#define LA_OPCODE 0x68
41
#define TM_OPCODE 0x91
42
#define MVI_OPCODE 0x92
43
#define NI_OPCODE 0x94
44
#define CMI_OPCODE 0x95
45
#define CI_OPCODE 0x96
46
#define XI_OPCODE 0x97
47
#define PERI_OPCODE 0x9c
48
#define LPSR_OPCODE 0x9d
49
#define PER_OPCODE 0x9e
50
#define STR_OPCODE 0x84
51
#define LR_OPCODE 0xbc
52
#define CMR_OPCODE 0xbd
53
#define AMR_OPCODE 0xbe
54
#define SMR_OPCODE 0xbf
55
56
/* PMM Format Instructions */
57
58
#define MVC_OPCODE 0xd2
59
#define NC_OPCODE 0xd4
60
#define CMC_OPCODE 0xd5
61
#define OC_OPCODE 0xd6
62
#define XC_OPCODE 0xd7
63
#define UPK_OPCODE 0xd8
64
#define SR_OPCODE 0xd9
65
#define PK_OPCODE 0xdA
66
#define SL_OPCODE 0xdb
67
#define TL_OPCODE 0xdc
68
#define EDT_OPCODE 0xde
69
#define MVP_OPCODE 0xe8
70
#define CMP_OPCODE 0xe9
71
#define AP_OPCODE 0xea
72
#define SP_OPCODE 0xeb
73
#define MP_OPCODE 0xec
74
#define DP_OPCODE 0xed
75
#define PKS_OPCODE 0xee
76
#define UPKS_OPCODE 0xef
77
#define MVQ_OPCODE 0xf8
78
#define CMQ_OPCODE 0xf9
79
#define AD_OPCODE 0xfa
80
#define SD_OPCODE 0xfb
81
#define AB_OPCODE 0xfe
82
#define SB_OPCODE 0xff
83
84
/* from cpu fo. 10, 11 */
85
86
#endif
Generated by
1.9.1