
RPBASIC-52 PROGRAMMING GUIDE
2-63
MTOP
Syntax: MTOP
MTOP = last valid RAM address
Function: Reads or assigns the top of external data memory which will be used by Basic for variable, string,
and RAM program storage
Mode: Command, run
Use: MTOP=30000
PRINT MTOP
Cards: All. Command is limiting on cards with 128K or more of RAM.
DESCRIPTIONS
The MTOP system control value is the maximum external data memory address which RPB ASIC-52 w ill use
for RAM program space and variable and string storage. MTOP is not necessarily the top of available
external data memory. On cards with 32K of RAM, MTOP is automatically set to 7E00H on power up. On
cards with 128K or more of RAM, MTOP is set to 0FFFFH on power up.
RELATED
ST@, LD@
ERROR
MEMORY ALLOCATION MTOP has been assigned a value greater than top of external data memory.
EXAMPLE
? MTOP
65535
Kommentare zu diesen Handbüchern