Prev: 62339 Up: Map Next: 62380
62363: Parser: Shift Second Token To Verb
Some commands like "GO" and "SWIM" are just treated like aliases, where the second token (the direction) is shunted down to being the first token, and the second token is then just erased. Hence, using "GO NORTH" is just the same as typing "NORTH".
Parser_ShiftSecondTokenToVerb 62363 LD IX,43044 Load UserInput_VerbToken into IX.
62367 LD A,(IX+1) Fetch *IX+1 (UserInput_SecondToken) and write it to UserInput_VerbToken.
62370 LD (IX+0),A
62373 LD (IX+1),255 Write a termination character (255) to UserInput_SecondToken.
62377 JP Handler_MatchVerb Jump to Handler_MatchVerb.
Prev: 62339 Up: Map Next: 62380