??? 04/20/04 21:09 Read: times |
#68933 - RE: Keil C51 uses DJNZ Responding to: ???'s previous message |
In Oleg's case, the compiler was able to use R6 for the loop variable, and thus could use DJNZ.
As I said before, future changes to this code might prevent this, so the compiler might "suddenly" stop using DJNZ; eg, if all the available registers get used up for other things: I said: If you need specific machine instructions, there is no point in messing about trying to coerce a 'C' compiler - and run the risk that it might change due to side effects of other code,... |
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 |