WRM

Name

Write accumulator into RAM character

Function

The accumulator content is written into the previously selected RAM
main memory character location. The accumulator and carry/link are unaffected.

Syntax

WRM

Assembled

Binary

11100000

Decimal

224

Hexadecimal

0xE0

Symbolic

../../_images/wrm-sym.png

Execution

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

Side-effects

Not Applicable

Implemented

wrm

Detailed Description

The contents of the accumulator are written into the DATA RAM data character specified by the last SRC instruction.

The carry bit and the accumulator are not affected.

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

../../_images/wrm.png

Example program

The example program will cause the DATA RAM data character number 4 of register 3 of chip 2 of the DATA RAM bank selected by the last DCL instruction to contain 15 (1111b).

/ Example program
        FIM   0P  180
        SRC   0P
        LDM   15
        WRM