Table 51, Read register 1 special receive condition status, Table 52 – Zilog Z08470 User Manual
Page 317: Residue codes, Read register 1

Z80 CPU Peripherals
User Manual
UM008101-0601
Serial Input/Output
297
Read Register 1
This register contains the Special Receive condition status bits and Residue
codes for the I-Field in the SDLC Receive Mode.
All Sent (D0)
In asynchronous modes, this bit is set when all the characters have
completely cleared the transmitter. Transitions of this bit do not cause inter-
rupts and it is always set in synchronous modes.
Residue Codes 0, 1, and 2 (D3-D1)
In SDLC receive mode, these three bits indicate the length of the I-field,
when the I-field is not an integral multiple of the character length. These
codes are only meaningful for a transfer in which the End-of-Frame bit is
set (SDLC). For a receive character length of eight bits per character, the
codes signify the following:
Table 32. Read Register 1 Special Receive Condition Status
D7
D6
DS
D4
D3
D2
D1
D0
End of
Frame
(SDLC)
CRC/
Framing
Error
Receiver
Overrun
Error
Parity
Error
Residue
Code 2
Residue
Code 1
Residue
Code 0
All sent
Table 33. Residue Codes
Residue Code
2
Residue Code
1
Residue Code
0
I-Field Bits in
Previous Byte
I-Field Bits in
Second
Previous Byte
1
0
0
0
3
0
1
0
0
4
1
1
0
0
5
0
0
1
0
6
1
0
1
0
7