Search found 200 matches
- Tue Mar 20, 2007 10:37 am
- Forum: Compiler
- Topic: Swordfish interrupts and system variables
- Replies: 11
- Views: 6031
Thanks, thats cleared a lot up for me. Looking through the forums/help file, I can't seem to find a list of SFR's used for different functions within the compiler. Whats the best method to find out what SFR's are important to back up? Tim Suggested the following: You can go from nothing to named var...
- Tue Mar 20, 2007 8:40 am
- Forum: Compiler
- Topic: Swordfish interrupts and system variables
- Replies: 11
- Views: 6031
Thanks for the quick reply! Just downloaded the free version, and having a read of the help file: // some interrupt... interrupt MyInt() dim Value as longword [b]save(0,GetValue) [/b] Value = GetValue(10) restore end interrupt FSR0 and FSR1 are automatically saved when context saving the system regi...
- Tue Mar 20, 2007 7:53 am
- Forum: Compiler
- Topic: Swordfish interrupts and system variables
- Replies: 11
- Views: 6031
- Tue Mar 20, 2007 6:59 am
- Forum: Compiler
- Topic: Swordfish interrupts and system variables
- Replies: 11
- Views: 6031
Swordfish interrupts and system variables
Hi, I'm just wondering if Swordfish handles systems variables correctly during interrupts. eg, there’s a 32 bit floating point math operation taking place, and an interrupt occurs, will any data(memory) be corrupted/changed due to the same system variables being used during the interrupt routine?