comparison 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
comparison
equal deleted inserted replaced
934:20d2c52a3170 935:6a26cab206d2
390 IsItE cmpa #'e extended dir? 390 IsItE cmpa #'e extended dir?
391 bne IsItX 391 bne IsItX
392 sta <extended 392 sta <extended
393 bra FixCmdLn 393 bra FixCmdLn
394 IsItX cmpa #'x 394 IsItX cmpa #'x
395 lbne Exit bad option, just exit 395 beq ItIsX
396 lda #EXEC. 396 ldb #E$IllArg
397 lbra Exit bad option, just exit
398 ItIsX lda #EXEC.
397 sta <addmode 399 sta <addmode
398 FixCmdLn lda #C$SPAC 400 FixCmdLn lda #C$SPAC
399 sta -1,x 401 sta -1,x
400 cmpb #'0 402 cmpb #'0
401 lblt ChkDash 403 lblt ChkDash