decodes all instructions i think.
start of a beneater pc
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user