sorry but i can not understand ur problem
why you want to have SPI in 8051 for ADC0804?
ADC0804 have parallel and simple hand shake interface. it does not require SPI
how ever if you want to have SPI in 8051 first you read the theory of SPI in deep
then try to implement it using program written in C or assembly