![]() |
Routines |
| Prev: 61760 | Up: Map | Next: 61800 |
|
Used by the routine at JumpTable.
Jump-table target JumpTable_ScanInputSpaces. A character below space returns with BC unchanged.
|
||||
| ScanInputSpaces | 61772 | LD DE,23470 | Point DE at InputBuffer. | |
| 61775 | LD B,D | |||
| ScanInputSpaces_Loop | 61776 | LD A,(DE) | Fetch the next character. | |
| 61777 | INC DE | |||
| 61778 | CP 32 | Return if it is below space. | ||
| 61780 | RET C | |||
|
A quote starts a token.
|
||||
| 61781 | CP 34 | Keep scanning until a quote. | ||
| 61783 | JR NZ,ScanInputSpaces_Loop | |||
| 61785 | LD (23463),DE | Write DE to *InputBuffer_TokenStart and *InputBuffer_NextToken. | ||
| 61789 | LD (23465),DE | |||
| 61793 | CALL AdvanceInputPointer | Call AdvanceInputPointer. | ||
| 61796 | LD BC,0 | BC=0000. | ||
| 61799 | RET | Return. | ||
| Prev: 61760 | Up: Map | Next: 61800 |