??? 04/25/04 18:04 Read: times |
#69163 - RE: T2MOD......AT89C52 Responding to: ???'s previous message |
Dear Ijaz thanks alots for the gold information i got from you, any way its not easy task to express your feeling in words. but the thing i can say, Godbless you all.
i,m using Keil uvision2 v2.4 mov 0c9H,#00H your idea worked out and the errors reduced from 5 to 4 :-). thanks alot T2CON this already defined by the assembler. but i,m having warrnig this T2CON. when i use it as follow to produce 1KHz it generate warrning indicate that, VALUE HAS BEEN TRUNCATED TO 8 BITS !!!! so what does this means??? mov T2CON,#01000100 ;start timer 2 producing 1kHz signal i have done like this. mov T2CON,#0C9H this way eleminate one more error, but i dont know is this instruction set can start timer 2 produceing 1KHz signals or not, please let me if its right or not. the remaining errors with signature bytes, please look if my idea is correct to reserve these bytes or not. If not please guide me to the right way to correct it. DB A5,E5,E0,A5 ;signature bytes DB 253,255,0,0 ;id 253 = startup DB 0,0,0,0 ;prompt code vector DB 0,0,0,0 DB 0,0,0,0 DB 0,0,0,0 DB 0,0,0,0 DB 255,255,255,255 ;length and checksum (255=unused) DB 'C-52 EVB Robot Controller',0 ORG 8100+64 ;executable code begins here Hope to here from you soon. Regards Azam |
Topic | Author | Date |
T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
identify the coils?? | 01/01/70 00:00 | |
identify the coils?? | 01/01/70 00:00 | |
RE: Stepper Motors![]() | 01/01/70 00:00 | |
PWM codes.......AT89C52 | 01/01/70 00:00 | |
RE: PWM codes.......AT89C52 | 01/01/70 00:00 | |
more explination plz | 01/01/70 00:00 | |
RE: more explination plz | 01/01/70 00:00 | |
RE: more explination plz | 01/01/70 00:00 | |
RE: more explination plz | 01/01/70 00:00 | |
concept | 01/01/70 00:00 | |
RE: concept | 01/01/70 00:00 |