Prev: C456 Up: Map Next: C47B
C470: Parser: Validate No Direct Object
The opposite of Parser_ValidateDirectObject, checks that there's no direct object.
Output
F The Z flag is set when there's no direct object present
F The carry flag is set when there's a second token set
Parser_ValidateNoDirectObject C470 LD A,($BD67) Return if the second token (*UserInput_Token_2) is the terminator character (FF).
C473 CP $FF
C475 RET Z
Print "Please rephrase that.".
C476 CALL Response_PleaseRephraseThat Call Response_PleaseRephraseThat.
C479 SCF Set the carry flag to indicate the command is malformed.
C47A RET Return.
Prev: C456 Up: Map Next: C47B