_spi_read:

INCXBUS_AUX

MOVDPL,R1

MOVDPH,R2

DECXBUS_AUX

LOOP1:MOVSPI0_DATA,0FFH

LOOP2:JNBS0_FREE,LOOP2

MOVA,SPI0_DATA

DB0A5H

DJNZR5,LOOP1

RET