RDnļ
Detailed Description
The DATA RAM status character whose number from 0 to 3 is specified by ānā, associated with the DATA RAM register specified by the last SRC instruction, is loaded into the accumulator.
The carry bit and the status character are not affected.
The DATA RAM status character is encoded in the opcode as shown below:
Example program
The example program will read the contents of DATA RAM status character 3 of register 0 of chip 0 of the currently selected DATA RAM bank into the accumulator.
/ Example program
FIM 2P 5
SRC 2P
RD3