Example programs, Commands – Remote Processing RPC-2350 User Manual

Page 33

Advertising
background image

CHAPTER 5

DATA MEMORY

5-7

Line 2000 calls the pro gram listed below . It toggles J2
line 13.

IN

A,(2)

LD

B,A

A N D

0FEH

O U T

(2),A

LD

A , B

OR

1

O U T

(2),A

RET

EXAMPLE PROGRAMS

The follow ing is a list of CA MBA SIC pr ogram s used to
save and load data to and from RAM and Flash.

N a m e

Function

ARRAY1.BAS

Move s floating point ar ray data
a r ou nd RA M .

ARRAY2.BAS

Reads and writes array data to and
from R AM a nd 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 CAM BASIC commands used
w it h R A M .

Command

Function

CALL

Calls an assembly language routine

CLEAR

Clears and allocates string space

PEEK

Return s 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

Advertising