some instructions have code and tests

This commit is contained in:
2025-06-30 13:55:35 -04:00
parent 9e0e8b5910
commit d97774e97b
4 changed files with 188 additions and 13 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ fn main() {
let mut array: Box<[u8; SIZE_32KB]> = slice.try_into().expect("Unable to make rom in ram");
array[0] = 0xa9; // LDA #$ab
array[1] = 0xab;
array[1] = 0xab; // 1010 1011
// write the rom to disk
fs::write("outputfile.bin", array.as_slice());