Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Speed of execution

2009-02-24 by David VanHorn

> Remember that 0<<xx does NOTHING. :-)


Right, thanks, but that isn't my latency problem.

It may be that GCC is saving "the world" before it enters my code..
@$!@$@#!$@#%$@%$
That would seem to be roughly the right order of magnitude.. 32 pushes..

In ASM, I'd have reserved a couple of registers specifically for the
ISRs, and another one for SREG, so getting in and out would be like
this:

ISR:
     in STEMP,SREG

     (ISR code, rarely needing to push anything at all..)

     out SREG,STEMP
     reti

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.