|Description:||Move W into PC(L), clear bit 8|
|Operation:||PC = ( PC & 0xFE00 ) + W|
|Actually compiles to:||mov 2, W|
|Microchip PIC syntax:||MOVWF 2|
Despite this not being documented anywhere, adding, or-ing, and-ing, moving, etc... an 8 bit value to the PC (bits 0..7) also results in CLEARING the 9th bit (bit 8) of the PC. So you can only do relative or computed jumps into the first half page of each page. Just like calls.
|file: /Techref/scenix/inst/jmpw.htm, 1KB, , updated: 2014/12/11 13:02, local time: 2021/1/26 15:50,
|©2021 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.sxlist.com/techref/scenix/inst/jmpw.htm"> SX Instruction JMP W</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!