MCPcopy Create free account
hub / github.com/acsoto/BUAA-Compiler / CodeType

Enum CodeType

src/CodeGeneration/CodeType.java:3–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package CodeGeneration;
2
3public enum CodeType {
4 LABEL,
5 VAR,
6 PUSH,
7 POP,
8 ADD,
9 SUB,
10 MUL,
11 DIV,
12 MOD,
13 CMPEQ,
14 CMPNE,
15 CMPGT,
16 CMPLT,
17 CMPGE,
18 CMPLE,
19 AND,
20 OR,
21 NOT,
22 NEG,
23 POS,
24 JZ,
25 JNZ,
26 JMP,
27 MAIN,
28 FUNC,
29 ENDFUNC,
30 PARA,
31 RET,
32 CALL,
33 RPARA,
34 GETINT,
35 PRINT,
36 DIMVAR,
37 VALUE,
38 ADDRESS,
39 PLACEHOLDER,
40 EXIT,
41}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected