??? 03/31/04 14:39 Read: times |
#67718 - RE: testing dallas rtc & 8052 Responding to: ???'s previous message |
eric mcnamara wrote: ------------------------------- way too tecchy and are in c,. If its too techy, you're choosing the wrong course. The bloody thing is just memory mapped - its not sitting on I2C or SPI. MOV DPTR,#register_address MOVX a,@DPTR ;Acc now has the contents of register at register address and MOV DPTR,#register_address MOV A,#data MOVX @DPTR,A ; conversely, put data in A into register at address. i cant for the life of me understand why the basic routine on these pages wont compile..... Look at the error messages, then ask some questions ? Steve |