RDM

Name

Read RAM character

Function

The content of the previously selected RAM main memory character
is transferred to the accumulator.

Syntax

WRM

Assembled

Binary

11101001

Decimal

233

Hexadecimal

0xE9

Symbolic

../../_images/rdm-sym.png

Execution

1 word, 8-bit code and an execution time of 10.3 \({\mu}\) sec

Side-effects

Not Applicable

Implemented

rdm

Detailed Description

The DATA RAM data character specified by the last SRC instruction is loaded into the accumulator.

The carry bit and the data character are not affected.

The opcode for this instruction does not contain any additional data:

../../_images/rdm.png

Example program

The example will read the contents of DATA RAM data character number 5 of register 0 of chip 0 of the currently selected DATA RAM bank into the accumulator.

/ Example program
        FIM   2P  5
        SRC   2P
        RDM