i think i do not understand the Q since the answer is : the same as without nosave.
on timer0 isr_timer0 nosave
enable timer0
enable interrupts
do
loop
isr_timer0:
'your code here but remember to save sreg and all regs you change when using nosave
'you find code in mcs.lib and other libs just look for RETI which is the return of an ISR
return
also notice in 2077 you can best use a sub routine :
declare sub myisr()
on timer0 myisr()
enable timer0
enable interrupts
do
loop
sub myisr()
'now you can have locals as well
local bSomeByte
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum