CSBE fr1,fr2 |
|
Description: | Compare, skip if below or equal |
Operation: | ( W = fr1 - fr2 ) >= 0 ? PC++ |
Flags affected: | C DC Z |
Registers affected: | W PC |
Sources referenced: | fr1 fr2 |
Cycles: | 3 |
Opcode: | |
Actually compiles to: | mov W, fr1; mov W, fr2-w; sb 3.0 |
Microchip PIC syntax: | MOVF fr1,0; SUBWF fr2,0; BTFSS 3,0 |
Notes: |
Affected by the the CF_ bit in FUSEX (DEVICE CARRYX).
see also: Program Flow Methods - Comparing values
file: /Techref/SCENIX/inst/csbefr1fr2.htm, 2KB, , updated: 2004/4/5 17:48, local time: 2024/11/30 12:26,
3.15.34.50:LOG IN
|
©2024 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://sxlist.com/TECHREF/SCENIX/inst/csbefr1fr2.htm"> SX Instruction CSBE fr1,fr2</A> |
Did you find what you needed? |
Welcome to sxlist.com!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. |
Welcome to sxlist.com! |
.