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
+1
View File
@@ -8,3 +8,4 @@ pretty_env_logger.workspace = true
log.workspace = true
clap.workspace = true
trevors_utilities.workspace = true
core = { path = "../core" }
+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());
}
+1 -1
View File
@@ -2,4 +2,4 @@ fn main() {
println!("Taxation is theft.");
println!("TODO:");
println!(" Load specified binary and parse it out to ASM");
}
}