applies chatgpt suggestions.
... does not appear to decode everything
This commit is contained in:
1 parent
1b2fb2c221
commit
57544589b3
23 files changed
+1341
-1472
No files matched your search
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user