decodes all instructions i think.

start of a beneater pc
This commit is contained in:
2025-06-27 12:14:54 -04:00
parent 57544589b3
commit d89fc1cd2b
22 changed files with 311 additions and 35 deletions
+3 -3
View File
@@ -4,8 +4,8 @@ use core::address_mode::AddressMode;
fn main() {
println!("Taxation is Theft");
Instruction::from_bytes(vec![0b11100011]);
// Instruction::from_bytes(vec![0b11100011]);
let instruction = Instruction::ADC(AddressMode::Immediate(0x45));
println!("Instruction = {:?}", instruction.to_string());
// let instruction = Instruction::ADC(AddressMode::Immediate);
// println!("Instruction = {:?}", instruction.to_string());
}