PushFSR (DW $04A) |
|
| Description: | Push the contents of W onto the "FSRstack" |
| Operation: | FSRstack[FSP++] = W |
| Flags affected: | ? |
| Registers affected: | FSRstack |
| Sources referenced: | W |
| Cycles: | 1 |
| Opcode: | $04A |
| Details: | Secret Instructions Page |
| Microchip PIC syntax: | n/a |
| Notes: | |
The FSRstack is only two levels deep and is used by both the interrupt and the debug system. If you don't set a breakpoint or happen to break into debug while in an ISR, you can use one level without concern. If you don't use interrupts or debug, you can use both levels.
To use this instruction, first define the following macro.
PushFSR macro DW $04A endm
See also:
| file: /Techref/scenix/inst/pushFSR.htm, 1KB, , updated: 2004/12/13 18:41, local time: 2012/5/25 13:51,
38.107.179.232:LOG IN |
| ©2012 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? <A HREF="http://www.piclist.com/techref/scenix/inst/pushFSR.htm"> SX Instruction PushFSR</A> |
| Did you find what you needed? |
|
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.