![]() |
Routines |
| Prev: 61760 | Up: Map | Next: 61800 |
|
Used by the routine at JumpTable.
Jump-table target JumpTable_ScanInputSpaces: walk InputBuffer until a quote or a character below space. On quote, seed InputBuffer_TokenStart / InputBuffer_NextToken, call AdvanceInputPointer, then set BC=0000. The early return for a character below 32 leaves 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 and compare it with space. | |
| 61777 | INC DE | |||
| 61778 | CP 32 | |||
| 61780 | RET C | Return if the next character is below space. | ||
| 61781 | CP 34 | Keep scanning until a quote. | ||
| 61783 | JR NZ,ScanInputSpaces_Loop | |||
| 61785 | LD (23463),DE | Seed both token pointers, call AdvanceInputPointer, and set BC=0000. | ||
| 61789 | LD (23465),DE | |||
| 61793 | CALL AdvanceInputPointer | |||
| 61796 | LD BC,0 | |||
| 61799 | RET | Return. | ||
| Prev: 61760 | Up: Map | Next: 61800 |