
BASIC PROGRAMMING GUIDE
2-4
CBY
Syntax: CBY(
expr
)
Where:
expr
= address from 0 to 65535
Function: Reads internal program code
Mode: Command, run
Use: PRINT CBY(1000H)
DESCRIPTION
The CBY instruction reads data from program memory space 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
Commenti su questo manuale