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 00:55, local time: 2009/11/20 20:20,
TOP NEW HELP FIND: 
38.107.191.102:LOG IN
©2009 PLEASE DON'T RIP! DO: LINK / DIGG! / MAKE!

 ©2009 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.piclist.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 visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. 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: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 
RpS i 2o3i2c
Cheap & easy I2C I/O and Monitor
Watch, recieve and send I2C via serial port. 100Kb/s. Also 5 TTL out & 8 in.
$15 chip $30 w/ PCB $40 kit $50 A&T
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .