please dont rip this site

SX Embedded Controller Instruction


RETIW lit

Description: Return from interrupt, compensate RTCC
Operation: PC = STACK[SP--]; RTCC += lit
Flags affected: none
Registers affected: RTCC PC
Sources referenced: lit
Cycles: 1
Opcode:
Details: SX Users Manual page # 115
Microchip PIC syntax:
Notes:

RETIW - Same as RETI but adds the contents of W to RTCC without affecting the prescaler. This provides a periodic interrupt that can be adjusted by 256 steps (minus the time it takes to execute the interrupt routine)

by Loren Blaney via Richard Ottosen

The RETIW instruction ADDS W to RTCC, not subtracts it as stated in Table 16-1 in SX Datasheet page 33

See also:


file: /techref/scenix/inst/retiw.htm, 2KB, , updated: 2001/7/29 01:55, local time: 2008/10/7 10:07,
TOP NEW HELP FIND: 
38.103.63.59:LOG IN
©2008 PLEASE DON'T RIP! DO: LINK / DIGG! / MAKE!

 ©2008 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it!
<A HREF="http://www.sxlist.com/techref/scenix/inst/retiw.htm"> SX Embedded Controller Instruction - RETIW</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be reviewed) Just type in the box and press the Post button. (HTML welcomed!): A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
  'What can I do?' - SiCKO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .