Search found 200 matches

by gramo
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...
by gramo
Tue Mar 20, 2007 9:55 am
Forum: Compiler
Topic: Well Done
Replies: 20
Views: 11515

With all the support Tim gives on the PDS site, the above statement really seals the deal with SF for me
by gramo
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...
by gramo
Tue Mar 20, 2007 7:53 am
Forum: Compiler
Topic: Swordfish interrupts and system variables
Replies: 11
Views: 6031

Just on that, will it only update the system variables being used within the interrupt routine, or every system variable regardless of what’s being used where.

I'm sure the later is what you meant, just confirming
by gramo
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?