Rpbasic-52 programming guide – Remote Processing BASIC 52 User Manual
Page 30

RPBASIC-52 PROGRAMMING GUIDE
2-11
CBY
Syntax:
C B Y (expr)
Where: expr = address from 0 to 65535
Function:
Reads internal program code
Mode:
Comm and, run
Use:
P R I N T C B Y (1 0 0 0H )
Cards:
All
D E S C R IP T I ON
The C BY instruc tion rea ds data from p rogram mem ory spa ce in th e 8052 . expr must evalu ate to a valid
integer address of 00H through 0FFFFH (65535). Code memory is read-only.
RELATED
D B Y , X B Y , P E E K , P O K E
E R R O R
B A D A R G U M E N T expr must be a v alid integer (0 through 65535).
EXAMPLE
10 FOR N=0 TO 10
20 PRINT CBY(N),
30 NEXT
>RUN
97 203 255 210 22 50 2 39 110 255 255