debug: print register name when changing register

This commit is contained in:
Nero 2020-05-18 22:50:30 +02:00
parent 8407275ba9
commit d264404bb1
2 changed files with 14 additions and 8 deletions

View file

@ -168,6 +168,11 @@ cmd_r: cmp byte [si], 0
je printregs
call eat_register
jc .err
mov al, [cs:bx+rnames]
call putc
mov al, [cs:bx+rnames+1]
call putc
call space
call edit_word
call crlf
ret