IN A,(N) |
Load accumulator from port N. | |||||||||
Function: | A
(N) |
|||||||||
Format: |
|
byte 1: DB |
||||||||
|
byte 2: port address |
|||||||||
Description: | The peripheral device N is read and the result is loaded into the accumulator. The literal N is placed on lines A0 to A7 of the address bus. The accumulator supplies bits A8 to A15. |
|||||||||
Data Flow: | ||||||||||
Timing: | 3 M cycles; 11 T states: 5.5 usec @ 2 MHz |
|||||||||
Addressing Mode: | external |
|||||||||
Flags: | (no effect) |
|||||||||
Example: | ||||||||||
OBJECT CODE |
Before: |
After: |
||||||||