??? 02/15/08 20:07 Read: times |
#150904 - Initializing two timers |
Hi all,
I'm new to 8051 programming and new to assembly. I'm trying to initialize timer 0 as a 16 bit external event counter and timer 1 as a 16 bit external event counter but considering the compiler I'm using is complaining about my code, I'm clearly not doing it properly. The code I'm using is: MOV TMOD,#DDh I'm actually programming an Analog Devices ADuC831 that uses an 8052 derivative if that matters, although they claim it is compatible with the 8051/8052 instruction set. I realize this is probably a simple question for most of you but please bare with my ignorance :-) Thanks in advance, Brian |