aboutsummaryrefslogtreecommitdiff
path: root/src/instructions.rs
blob: acfb8bd8e03808f90a9c054556f3b1977d745a04 (plain)
1
2
3
4
5
6
7
8
9
10
#[repr(u8)]
pub enum Instruction {
    MOV = 0x01,
    ADD = 0x02,
    SUB = 0x03,
    JMP = 0x04,
    JZ = 0x05,
    JNZ = 0x06,
    HLT = 0xFF,
}