XVME-400/40I /490/491 Manual
October, 1989
********************************************************************************
*
*
This routine will receive a byte of data in polled mode.
*
*
On entry:
*
A3 contains the address of the command
register of the SCC channel used for
receiving.
On exit:
D3.B contains the byte which was received.
*********************************************************************************
RPOLA
M0VE M.L DO/D 1 /A 1 ,-(SP)
RXPOLL M0VE.B (A3),DO
BTST
#O,DO
BEQ.S
RXPOLL
RXCHA M0VE.B 2(A3),D3
* Save registers
* Read the contents of RR0
* Is a character available?
* No, then try again
* Get the character
RXIT
MOVEM.L (SP)+,D0/D 1 /A 1
RTS
* Restore registers
END
3-15
Summary of Contents for XVME-400
Page 1: ......
Page 2: ......
Page 3: ......
Page 4: ......
Page 5: ......
Page 8: ......
Page 9: ......
Page 13: ......
Page 14: ......
Page 15: ......
Page 16: ......
Page 18: ......
Page 21: ......
Page 32: ......
Page 61: ......
Page 62: ......
Page 63: ......
Page 64: ......
Page 65: ......
Page 66: ......
Page 67: ......
Page 68: ......
Page 69: ......
Page 70: ......
Page 71: ......
Page 72: ......
Page 73: ......
Page 74: ......
Page 75: ......
Page 76: ......
Page 77: ......
Page 78: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......