??? 04/20/04 20:31 Read: times |
#68928 - RE: Keil Halt Responding to: ???'s previous message |
hi,
Is there any possibility to force C language to generate DJNZ indeed, for next source unsigned char x; unsigned char a=0; for (x=200; x > 0; x--) a++;Keil compiler uses DJNZ: CLR A MOV R7,A MOV R6,#0xC8 FOR_CYCLE: INC R7 DJNZ R6,FOR_CYCLEBut as Andy said: you must not rely on that next version of compiler will still use the same way. Be caryful. Regards, Oleg |
Topic | Author | Date |
Keil Halt | 01/01/70 00:00 | |
Use Assembler. | 01/01/70 00:00 | |
RE: Keil Halt | 01/01/70 00:00 | |
RE: Keil C51 uses DJNZ | 01/01/70 00:00 | |
RE: Keil C51 uses DJNZ | 01/01/70 00:00 | |
RE: Keil C51 uses DJNZ | 01/01/70 00:00 | |
Optimise your C | 01/01/70 00:00 | |
RE: DJNZ | 01/01/70 00:00 | |
RTFM? | 01/01/70 00:00 | |
RE: RTFM? | 01/01/70 00:00 | |
RE: RTFM? | 01/01/70 00:00 | |
RE: RTFM? | 01/01/70 00:00 | |
RE: RTFM? | 01/01/70 00:00 | |
RE: RTFM? | 01/01/70 00:00 | |
Keil Halt - Primer | 01/01/70 00:00 | |
RE: Keil Halt - Primer | 01/01/70 00:00 | |
This way lies disaster!!![]() | 01/01/70 00:00 | |
RE: Keil Halt | 01/01/70 00:00 |