Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/23/03 18:09
Read: times


 
#37011 - RE: SPI
write_byte:

clr cs
push acc
mov a,dph
rrc a
mov a,#write
mov a8,c
call masterio
mov a,dpl
call masterio
pop acc
call masterio
setb cs
ret

Where do you put anything in DPTR, DPH or DPL ?

Does the delay work or does it not exist ? Are you tramping on a register by accident ? Use the power of the assembler to make your life easier ! Assign variable to registers in data or idata memory.

Steve

List of 10 messages in thread
TopicAuthorDate
SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      
RE: SPI            01/01/70 00:00      

Back to Subject List