Mercurial > hg > Members > kono > nitros9-code
diff level1/cmds/dir.asm @ 935:6a26cab206d2
E$IllArg is returned if bad option used
author | boisy |
---|---|
date | Tue, 21 Jan 2003 04:23:55 +0000 |
parents | 16b8c7dc0082 |
children | 84ea83668304 |
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