applies chatgpt suggestions.

...
does not appear to decode everything
This commit is contained in:
2025-06-25 09:34:19 -04:00
parent 1b2fb2c221
commit 57544589b3
23 changed files with 1341 additions and 1472 deletions
+1 -2
View File
@@ -1,11 +1,10 @@
use core::instruction::Instruction;
use core::address_mode::AddressMode;
use core::isa::decoder::Decoder;
fn main() {
println!("Taxation is Theft");
Decoder::decode(vec![0b11100011]);
Instruction::from_bytes(vec![0b11100011]);
let instruction = Instruction::ADC(AddressMode::Immediate(0x45));
println!("Instruction = {:?}", instruction.to_string());