alkid
Junior Member level 1
spi0dat
INT0: CLR CSN
MOV SPI0DAT, #20H
LCALL SPI
MOV SPI0DAT, #08H
LCALL SPI
SETB CSN
CLR CSN
MOV SPI0DAT, #27H
LCALL SPI
MOV SPI0DAT, #7EH
LCALL SPI
SETB CSN
MOV SPI0DAT, #0E1H
LCALL SPI
SETB CSN
CLR CSN
MOV SPI0DAT, #0E2H
LCALL SPI
SETB CSN
RET
anyone know of anyway i can change the asm code into c code?
INT0: CLR CSN
MOV SPI0DAT, #20H
LCALL SPI
MOV SPI0DAT, #08H
LCALL SPI
SETB CSN
CLR CSN
MOV SPI0DAT, #27H
LCALL SPI
MOV SPI0DAT, #7EH
LCALL SPI
SETB CSN
MOV SPI0DAT, #0E1H
LCALL SPI
SETB CSN
CLR CSN
MOV SPI0DAT, #0E2H
LCALL SPI
SETB CSN
RET
anyone know of anyway i can change the asm code into c code?