Remote-processing RPC-2350 Manual do Utilizador Página 33

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 83
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 32
CHAPTER 5 DATA MEMORY
5-7
Line 2000 calls the program listed below . It toggles J2
line 13.
IN A,(2)
LD B,A
AND 0FEH
OUT (2),A
LD A,B
OR 1
OUT (2),A
RET
EXAMPLE PROGRAMS
The follow ing is a list of CA MBASIC pr ogram s used to
save and load data to and from RAM and Flash.
Name Function
ARRAY1.BAS Moves floating point ar ray data
around RAM.
ARRAY2.BAS Reads and writes array data to and
from RAM and Flash
FLASH.BAS Writes to and reads data from
Flash
LOGGER.BAS Data logs to RAM, prints out
results.
COMMANDS
The following is a list of CAMBASIC commands used
with RAM.
Command Function
CALL Calls an assembly language routine
CLEAR Clears and allocates string space
PEEK Returns a byte
DPEEK Returns a 16 bit value
PEEK$ Returns a string
FPEEK Returns a floating point number
POKE Stores a by te
DPOKE Stores a 16 bit value
POKE$ Stores a string
FPOKE Stores a floating point number
LOAD Move data from Flash to RAM or
RAM to RAM
SAVE Save data to Flash from RAM
Vista de página 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 82 83

Comentários a estes Manuais

Sem comentários