-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathgalangst7.h
More file actions
53 lines (46 loc) · 1.5 KB
/
galangst7.h
File metadata and controls
53 lines (46 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef GALANGST7_H
#define GALANGST7_H
//#include "galang6805.h"
#include "galanguage.h"
class GALangST7 : public GALanguage //public GALang6805
{
public:
bool mode6805=false;
GALangST7(bool mode6805=false);
private:
//15 opcode arithmetic instruction, destination A.
void buildArithmetic15(uint8_t opcode,
QString name,
QString help);
//Load instruction, destination x
void buildLdToX();
//Load instruction, from x
void buildLdFromX();
//Load instruction, destination y
void buildLdToY();
//Load instruction, from y
void buildLdFromY();
//Weirder load instructions.
void buildLdMisc();
//14 opcode arithmetic instruction, source A.
void buildArithmetic14fromA(uint8_t opcode,
QString name,
QString help);
//11 opcode arithmetic instruction. (not A)
void buildArithmetic11(uint8_t opcode,
QString name,
QString help);
//PUSH and POP on ST17. Not on 6805.
void buildStackOp(uint8_t opcode,
QString name,
QString help);
//CALL and absolutely Jumps.
void buildCallJump(uint8_t opcode,
QString name,
QString help);
//Relative and conditional jumps.
void buildRelJump(uint8_t opcode,
QString name,
QString help);
};
#endif // GALANGST7_H