Io And Ram Instructions
This section describes instructions which access DATA RAM characters or perform input or output operations. One instruction, WPM, allows the programmer to read or write 8-bit program RAM locations. These instructions use addresses selected by the DCL and SRC instructions.
Instructions in this class occupy one byte as follows:
Code |
Description |
---|---|
Write accumulator to RAM. |
|
Write accumulator to RAM output port |
|
Write accumulator to ROM output port. |
|
Write accumulator to Program RAM. |
|
Write accumulator to RAM status char&cter n (n = 0, 1, 2 or 3). |
|
Load accumulator from RAM. |
|
Load accumulator from ROM input port. |
|
Load accumulator from RAM status character n (n = 0, 1, 2 or 3) . |
|
Add RAM data plus carry to accumulator. |
|
Subtract RAM data from accumulator with borrow. |