OUT (C),r |
Output register r to port C. |
Function: |
(C)
r |
Format: |
|
byte 1: ED |
|
|
byte 2 |
Description: |
The contents of the specified register are output to the peripheral device addressed by the contents of the C register. r may be any one of;
- A
- 111
- B
- 000
- C
- 001
- D
- 010
- E
- 011
- H
- 100
- L
- 101
Register C supplies bits A0 to A7 of the address bus. Register B supplies bits A8 to A15. |
Data Flow: |
|
Timing: |
3 M cycles; 12 T states: 6 usec @ 2 MHz |
Addressing Mode: |
external |
Flags: |
|
(no effect) |
Byte Codes: |
OUT (C),r
r: | A | B | C | D | E | H | L |
ED + | 79 | 41 | 49 | 51 | 59 | 61 | 69 |
---|
|
Example: |
OUT (C),B |
OBJECT CODE |
Before: |
After: |
|
|