Showing the changes to src/include/opcodes.h (1 of 4 files). Show all
Unified · Split
| @@ -7,10 +7,12 @@ · 6 unmodified lines | |||
| 7 | #ifndef _DISVM_SRC_INCLUDE_OPCODES_H_ | 7 | #ifndef _DISVM_SRC_INCLUDE_OPCODES_H_ |
| 8 | #define _DISVM_SRC_INCLUDE_OPCODES_H_ | 8 | #define _DISVM_SRC_INCLUDE_OPCODES_H_ |
| 9 | 9 | ||
| 10 | #include <cstdint> | ||
| 11 | |||
| 10 | namespace disvm | 12 | namespace disvm |
| 11 | { | 13 | { |
| 12 | // Instruction codes for the Dis VM | 14 | // Instruction codes for the Dis VM |
| 13 | enum class opcode_t | 15 | enum class opcode_t : uint8_t |
| 14 | { | 16 | { |
| 15 | invalid = 0, | 17 | invalid = 0, |
| 16 | alt, | 18 | alt, |