From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2001-03-19 20:25:43
On Mon, 19 Mar 2001, MagerValp wrote: > >>>>> "MM" == Mike McCarty <jmccarty_at_ssd.usa.alcatel.com> writes: > > MM> Which could be solved by disabling interrupts. > > But that's another 4 cycles for each and every stack operation. C is > quite stack intensive. Depends on how it is implemented. I know that this particular compiler is stack use intensive. Yes, if a routine had 4 arguments, then four calls to the routine would be used, resulting in 16 cycles (by your count, I haven't verified this) of CPU used in manipulating the stack. OTOH, I've never seen code produced by a compiler like this one waste as little as 16 cycles inside with extra junk code. Also, one could use a pragma to turn on/off the extra code. Mike ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:39 CET