C64 ROM | Routines |
Prev: A617 | Up: Map | Next: A659 |
|
||||
A642 | D0 FD | BNE $A641 | exit if following byte to allow syntax error | |
This entry point is used by the routine at E422.
|
||||
A644 | A9 00 | LDA #$00 | clear A | |
A646 | A8 | TAY | clear index | |
A647 | 91 2B | STA ($2B),Y | clear pointer to next line low byte | |
A649 | C8 | INY | increment index | |
A64A | 91 2B | STA ($2B),Y | clear pointer to next line high byte, erase program | |
A64C | A5 2B | LDA $2B | get start of memory low byte | |
A64E | 18 | CLC | clear carry for add | |
A64F | 69 02 | ADC #$02 | add null program length | |
A651 | 85 2D | STA $2D | set start of variables low byte | |
A653 | A5 2C | LDA $2C | get start of memory high byte | |
A655 | 69 00 | ADC #$00 | add carry | |
A657 | 85 2E | STA $2E | set start of variables high byte |
Prev: A617 | Up: Map | Next: A659 |