Skip to content

Commit e773717

Browse files
author
Ian Seyler
committed
Fix dump output
1 parent 67377bc commit e773717

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

src/monitor.asm

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,8 @@ dump_b_newline:
539539
push rsi
540540
mov rsi, dump_b_string
541541
call ui_output
542+
mov rsi, newline
543+
call ui_output
542544
pop rsi
543545
xor edx, edx ; Reset the value counter
544546
jmp dump_b
@@ -565,6 +567,10 @@ dump_w_next:
565567
jmp dump_end
566568
dump_w_newline:
567569
xor edx, edx
570+
push rsi
571+
mov rsi, newline
572+
call ui_output
573+
pop rsi
568574
jmp dump_w
569575

570576
dump_d:
@@ -589,6 +595,10 @@ dump_d_next:
589595
jmp dump_end
590596
dump_d_newline:
591597
xor edx, edx
598+
push rsi
599+
mov rsi, newline
600+
call ui_output
601+
pop rsi
592602
jmp dump_d
593603

594604
dump_q:
@@ -613,6 +623,10 @@ dump_q_next:
613623
jmp dump_end
614624
dump_q_newline:
615625
xor edx, edx
626+
push rsi
627+
mov rsi, newline
628+
call ui_output
629+
pop rsi
616630
jmp dump_q
617631

618632
dump_end:
@@ -622,10 +636,6 @@ peek:
622636
cmp byte [args], 3
623637
jl insuf
624638
jg toomany
625-
; push rsi
626-
; mov rsi, newline
627-
; call ui_output
628-
; pop rsi
629639
mov rsi, temp_string
630640
call string_length
631641
add rsi, 1

0 commit comments

Comments
 (0)