Mercurial > hg > Members > kono > nitros9-code
changeset 935:6a26cab206d2
E$IllArg is returned if bad option used
author | boisy |
---|---|
date | Tue, 21 Jan 2003 04:23:55 +0000 |
parents | 20d2c52a3170 |
children | 0fc7dce414db |
files | level1/cmds/dir.asm |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/cmds/dir.asm Tue Jan 21 01:53:46 2003 +0000 +++ b/level1/cmds/dir.asm Tue Jan 21 04:23:55 2003 +0000 @@ -392,8 +392,10 @@ sta <extended bra FixCmdLn IsItX cmpa #'x - lbne Exit bad option, just exit - lda #EXEC. + beq ItIsX + ldb #E$IllArg + lbra Exit bad option, just exit +ItIsX lda #EXEC. sta <addmode FixCmdLn lda #C$SPAC sta -1,x