
RPBASIC-52 PROGRAMMING GUIDE
2-11
CBY
Syntax: CBY(expr)
Where: expr = address from 0 to 65535
Function: Reads internal program code
Mode: Command, run
Use: PRINT CBY(1000H)
Cards: All
DESCRIPTION
The C BY instruction rea ds data from p rogram mem ory spa ce in the 8052. expr must evaluate to a valid
integer address of 00H through 0FFFFH (65535). Code memory is read-only.
RELATED
DBY, XBY, PEEK, POKE
ERROR
BAD ARGUMENT expr must be a valid 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
Komentáře k této Příručce