Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

335 TOP Purpose The function TOP returns the address of the first free memory location afer the user’s program. The user’s program is normally stored from the bottom of the available Random Access Memory upwards. Thus the length of the user’s program in bytes is given by TOP-PAGE . Examples PRINT~(TOP-PAGE):REM length in hex 2340 PRINT TOP 5460 X=TOP Description A function returning the first free location above the user’s program. Syntax = TOP Associated keywords PAGE , HIMEM , LOMEM