Skip to content
This repository was archived by the owner on Jan 21, 2023. It is now read-only.

Commit e90699a

Browse files
committed
show dec with hex
1 parent a8eff72 commit e90699a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl<'borrow_code_lifetime> VM<'borrow_code_lifetime> {
103103
println!("pc:{}", self.pc);
104104
print!("stack: [");
105105
for value in &mut self.stack.iter() {
106-
print!("{:#x}, ", value);
106+
print!("{:#x}({}), ", value,value);
107107
}
108108
println!("]");
109109

0 commit comments

Comments
 (0)