debug: fix check if there are arguments
This commit is contained in:
parent
fc1aa47039
commit
a386416f28
1 changed files with 1 additions and 3 deletions
|
@ -252,12 +252,10 @@ cmd_?: mov si, .txt
|
|||
cmd_g: and word [reg_fl+1], 0xfe
|
||||
jmp return
|
||||
|
||||
cmd_r: cmp di, si
|
||||
cmd_r: cmp byte [si], 0
|
||||
je printregs
|
||||
call eat_register
|
||||
jc .err
|
||||
mov dx, si
|
||||
call print16
|
||||
ret
|
||||
.err: mov di, eat_register.emsg
|
||||
jmp parse_error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue