Reset instead of setting program counter
This commit is contained in:
parent
3c85ed2b00
commit
01117af411
3 changed files with 6 additions and 22 deletions
|
|
@ -40,11 +40,7 @@ fn main() {
|
|||
return;
|
||||
}
|
||||
|
||||
// Set starting program counter
|
||||
if let Err(e) = mcs4.set_cpu_program_counter(U12::from(0x000)) {
|
||||
eprintln!("Failed to set program counter: {}", e);
|
||||
return;
|
||||
}
|
||||
mcs4.reset_system();
|
||||
|
||||
// Display system information
|
||||
let info = mcs4.get_system_info();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue