some decode. some encode. some to_string

This commit is contained in:
2025-06-22 16:26:10 -04:00
parent bbb263d4d1
commit a550fe40b9
15 changed files with 2470 additions and 25 deletions
+12
View File
@@ -0,0 +1,12 @@
use core::instruction::Instruction;
use core::address_mode::AddressMode;
use core::isa::decoder::Decoder;
fn main() {
println!("Taxation is Theft");
Decoder::decode(vec![0b11100011]);
let instruction = Instruction::ADC(AddressMode::Immediate(0x45));
println!("Instruction = {:?}", instruction.to_string());
}