summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8eb1648..87dd041 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,7 +13,7 @@ use self::core::Core;
fn core_worker(mut core: Core, should_stop: &Mutex<bool>, cvar: &Condvar) {
loop {
while !(*should_stop.lock().unwrap()) {
- println!("{}", core.op());
+ println!("0x{:08x}: {}", core.pc(), core.op());
core.step();
sleep(time::Duration::from_millis(1000));
}