On controllers that provide a DTR (Data Terminal Ready) input, the instruction
SPxPoll1 4,!CPU
will return the state of the input in U0. A True value in U0 indicates the DTR input is asserted.