Serial Communication System Architecture

Size: 8 bits
Function: Holds alphanumeric input information from keyboard using ASCII code.
Size: 8 bits
Function: Stores serial information to be transmitted to printer.
Input Process:
Output Process:
Input and output instructions use operation code 1111 and are controlled by bits IR(6-11).
D7IT3 = p (common to all input-output instructions)
IR(i) = Bi [bit in IR(6–11) that specifies the instruction]
| Instruction | Symbol | Hex Code | Action |
|---|---|---|---|
| p : | SC←0 | Clear SC | |
| INP | pB₁₁ : | AC(0-7)←INPR, FGI←0 | Input character to AC |
| OUT | pB₁₀ : | OUTR←AC(0-7), FGO←0 | Output character from AC |
| SKI | pB₉: | If (FGI = 1) then (PC←PC + 1) | Skip on input flag |
| SKO | pB₈: | If (FGO = 1) then (PC←PC + 1) | Skip on output flag |
| ION | pB₇: | IEN←1 | Interrupt enable on |
| IOF | pB₆: | IEN←0 | Interrupt enable off |
Simulate the I/O operation flow: