contur2
Loading...
Searching...
No Matches
instruction.h File Reference

Instruction enum class — all opcodes for the bytecode interpreter. More...

#include <cstdint>
Include dependency graph for instruction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  contur

Enumerations

enum class  contur::Instruction : std::uint8_t {
  contur::Nop = 0 , contur::Mov , contur::Add , contur::Sub ,
  contur::Mul , contur::Div , contur::And , contur::Or ,
  contur::Xor , contur::ShiftLeft , contur::ShiftRight , contur::Compare ,
  contur::JumpEqual , contur::JumpNotEqual , contur::JumpGreater , contur::JumpLess ,
  contur::JumpGreaterEqual , contur::JumpLessEqual , contur::Push , contur::Pop ,
  contur::Call , contur::Return , contur::ReadMemory , contur::WriteMemory ,
  contur::Interrupt , contur::Halt
}
 CPU instruction opcodes for the simulated architecture. More...

Detailed Description

Instruction enum class — all opcodes for the bytecode interpreter.

Definition in file instruction.h.