Last active
October 5, 2021 03:53
-
-
Save cbeust/918e7f045244ce695acdb5927ea30bcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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