debug: fix check if there are arguments

This commit is contained in:
Nero 2020-05-18 20:17:58 +02:00
parent fc1aa47039
commit a386416f28

View File

@ -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