Skip to content

Commit

Permalink
feat: print table header for registers command
Browse files Browse the repository at this point in the history
  • Loading branch information
dxrcy committed Dec 1, 2024
1 parent ec6a84c commit 2793c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debugger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl Debugger {

fn print_registers(state: &RunState) {
dprintln!("----------------------");
dprintln!("| Registers:");
dprintln!("| HEX\tINT\tUINT\tCHAR");
for i in 0..8 {
dprint!("| R{} ", i);
print_integer(state.reg(i));
Expand Down

0 comments on commit 2793c9e

Please sign in to comment.