Remote-processing CAMBASIC Manuale Utente Pagina 107

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 208
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 106
Commands - 74
LOAD
Command
SYNTAX: LOAD
LOAD program
LOAD program RUN
LOAD to RAM segment, RAM address, from me mory segm ent, memo ry address, length
PURPOSE: LOAD with no parameters reads a program from Flash and puts it into RAM.
LOAD program retrieves a pr ogram from 0 or 1 in a 128K Flash E PROM or 0 to 7 in a 512K F lash
and puts it into RAM.
LOAD with all the other parameters transfers data from Flash to RAM or RAM to RAM.
REMARK S: LOAD with no parameters is the only valid LOAD com mand on the RPC -150 and RPC-2300.
LOAD n RUN is used within a program to run another program. Program execution always starts at
the first program line.
The third syntax, from me mory segm ent, refers to the physical memory map and is in the range of 0
to 15. Segments 0-7 are always RAM while segments 8-15 are always Flash EPROM . The number
of segments actually available depend upon mem ory size for ea ch type. 128K RAM uses segments 0
and 1. 128K Flash use segments 8 and 9. A 512K RAM uses segments 0-7 while a 512K flash uses
segments 8-15.
The third syntax is usefu l for moving blocks of memory around from F lash to RAM or RAM to
RAM. Using proper addressing, you can move and replace CA MBASIC arrays in RAM . Use the
SAVE com mand to store to Flash.
EXAMPLE: LOAD Loads a program from Flash segment 0.
LOAD n Loads a program from Flash segment 0 to 7
LOAD 1,weight,1,&9000,4500 Loads 4500 bytes of data to RAM segment 1, address
“weight” from Flash segment 1, address &9000.
LOAD 1 RUN Load pr ogram from Flash seg ment 1 and runs it.
ERROR: < Data negative> for addr ess or length
< Data > 65,535> for addr ess or length
< Data > 2 or 7> for segment
Vedere la pagina 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 207 208

Commenti su questo manuale

Nessun commento