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