Searching \ for 'Saving W & STATUS from Interrupt using SWAP, AN585' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Search entire site for: 'Saving W & STATUS from Interrupt using SWAP, AN585'.

Truncated match.
PICList Thread
'Saving W & STATUS from Interrupt using SWAP, AN585'
1995\10\02@100438 by Scott Stephens

flavicon
face
>To: spam_OUTPICLISTTakeThisOuTspamMITVMA.BITNET
>From: .....stephnssKILLspamspam@spam@mail.pyrotechnics.com
>Subject: Saving W & STATUS from Interrupt using SWAP, AN585 and RTOS's
>
>I was checking out AN585 Real time operating system and noticed that the
author uses:
>MOVWF Temp_W
>SWAPF STATUS,W
>MOVWF TEMP_Stat
>before the Interrupt service routine to save the W and Status registers.
Why use SWAPF STATUS,W ? I can see that if STATUS happens to be 0, the Z
flag would be set but that would happen AFTER the current status was saved
in TEMP_Stat, wouldn't it? Is there another reason?
>
>And does anyone have any other suggestion and/or ideas for multitasking and
reenterant code? I like the examples given, but have trouble getting my
routines to cooperate adapting it to the interrupt and single timer on a 16C84.
>

More... (looser matching)
- Last day of these posts
- In 1995 , 1996 only
- Today
- New search...