Prev: 44886 Up: Map Next: 44923
44912: 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 44912 LD A,(43045) Return if the second token (*UserInput_Token_2) is the terminator character (255).
44915 CP 255
44917 RET Z
Print "Please rephrase that.".
44918 CALL Response_PleaseRephraseThat Call Response_PleaseRephraseThat.
44921 SCF Set the carry flag to indicate the command is malformed.
44922 RET Return.
Prev: 44886 Up: Map Next: 44923