Skip to content

Instantly share code, notes, and snippets.

@cbeust
Last active October 5, 2021 03:53
Show Gist options
  • Save cbeust/918e7f045244ce695acdb5927ea30bcf to your computer and use it in GitHub Desktop.
Save cbeust/918e7f045244ce695acdb5927ea30bcf to your computer and use it in GitHub Desktop.
pub const BRK: u8 = 0x00;
pub const JSR: u8 = 0x20;
// ...
// opcode hex, opcode name, instruction size
let ops: Vec<(u8, &str, usize)> = vec![
(BRK, "BRK", 1),
(JSR, "JSR", 3),
// ...
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment