Prev: 44008 Up: Map Next: 44034
44020: 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 44020 LD A,(41276) Return if the second token (*UserInput_Token_2) is the terminator character (255).
44023 CP 255
44025 RET Z
Print "Please rephrase that.".
44026 LD HL,24 HL=Messaging_PleaseRephraseThat.
44029 CALL PrintCompressedStringAndNewline Call PrintCompressedStringAndNewline.
44032 SCF Set the carry flag to indicate the command is malformed.
44033 RET Return.
View the equivalent code in;
Prev: 44008 Up: Map Next: 44034