Fix sample in readme
This commit is contained in:
parent
f16edb1c57
commit
0f485e39c7
|
@ -44,7 +44,7 @@ There are still several open areas, but most targets have been reached. The cur
|
||||||
|
|
||||||
### Optimizing
|
### Optimizing
|
||||||
|
|
||||||
* Simple loop opmtimization
|
* Complex loop optimization
|
||||||
* Partial block domination analysis
|
* Partial block domination analysis
|
||||||
* Auto variables placed on fixed stack for known call sequence
|
* Auto variables placed on fixed stack for known call sequence
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ The C compiler will not generate good interrupt code, it is simply too greedy wi
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
// Next line for interrupt
|
// Next line for interrupt
|
||||||
char npos;
|
volatile char npos;
|
||||||
|
|
||||||
// Interrupt routine
|
// Interrupt routine
|
||||||
__asm irq
|
__asm irq
|
||||||
|
|
Loading…
Reference in New Issue