![]() |
Routines |
Prev: 1DEC | Up: Map |
The address of this routine is found in the parameter table.
During syntax checking a DATA statement is checked to ensure that it contains a series of valid expressions, separated by commas. But in 'run-time' the statement is passed by.
|
||||||||
DATA | 1E27 | CALL SYNTAX_Z | Jump forward unless checking syntax. | |||||
1E2A | JR NZ,DATA_2 | |||||||
A loop is now entered to deal with each expression in the DATA statement.
|
||||||||
DATA_1 | 1E2C | CALL SCANNING | Scan the next expression. | |||||
1E2F | CP "," | Check for a comma separator. | ||||||
1E31 | CALL NZ,CHECK_END | Move on to the next statement if not matched. | ||||||
1E34 | RST $20 | Whilst there are still expressions to be checked go around the loop. | ||||||
1E35 | JR DATA_1 | |||||||
The DATA statement has to be passed by in 'run-time'.
|
||||||||
DATA_2 | 1E37 | LD A,$E4 | It is a 'DATA' statement that is to be passed by. | |||||
This routine continues into PASS_BY.
|
Prev: 1DEC | Up: Map |