ZX 81 - BASIC Programming

Sinclair ZX Spectrum
Chapter 28.2 - The system variables

Exercises

1. Try this program

10 FOR N=0 TO 21

20 PRINT PEEK (PEEK 16400+256*PEEK 16401+N)

30 NEXT N

This tells you the first 22 bytes of the variables area: try to match up the control variable N with the description in chapter 27.

2. In the program above, change line 20 to

20 PRINT PEEK (16509+N)

This tells you the fist 22 bytes of the program area. Match these up with the program itself.

Sinclair ZX Spectrum

  Previous Page Back Next Page