Remote Processing RPC-330 User Manual

Page 21

Advertising
background image

RAM MEMORY

SECTION 5

Page 5-4 RPC -330

ASSEMBLY LANGUAGE INTERFACE

Assembly language program s must be placed in the
RPBASIC-52 E PROM . W hen using RPBASIC-52,
progr ams shou ld start at addr ess 6000H or higher up to
7 F FF H .

RPBASIC is norm ally in a 32K byte EPROM (27C256).
A 6 4K b yt e E P R O M ( 27 C 5 12 ) m ay b e u s ed in s oc k et U 4
provided the following modification is made: Cut the
trace between W11 pins 1 and 2 on the circuit side.
(Jumper W11 is under socket U4. P in 1 is designated by
the square pad.) Solder a jumpe r between W11 pin 2
and 3.

Docum ented assem bly language interface calls listed in
the Intel MCS BASIC -52 Users Manual will not work
with RPBASIC-52. This is because RPBASIC-52 has
been reassembled and code shifted around.

The RP-10 adapter boar d is used to run and debug
assembly and C code. This board plugs into RAM
socket U5 and RPBASIC socket U4. It does not use the
Basic at all.

COMMANDS

The following is a list of RPBASIC-52 commands used
w it h R A M .

Comm and

Function

BLOAD

Transfers data from EPROM to RAM

BSAVE Transfers data from RAM to EPROM
CALL

Calls an assembly language routine

CBY

Return s code m emor y data

DBY

Returns or assigns internal memory

MTOP

Sets top of RAM memory

PEEK B

Return s a byte

PEEK F

Returns a floating point number

PEEK W

Returns a 16 bit value

PEEK $

Returns a string

POKE B

Stores a by te

POKE F

Stores a floating point number

POKE W

Stores a 16 bit value

POKE $

Stores a string

XBY

Returns or assigns external memory

Advertising