Krolyxon
Commit be61e5a

Branches

Tags

Refs →

bench51srcinstructions.rs

10 lines · 148 B · Rust

1#[repr(u8)]
2pub enum Instruction {
3 MOV = 0x01,
4 ADD = 0x02,
5 SUB = 0x03,
6 JMP = 0x04,
7 JZ = 0x05,
8 JNZ = 0x06,
9 HLT = 0xFF,
10}