CSA fr,#lit |
|
Description: | Compare, skip if above |
Operation: | ( W = lit - fr ) < 0 ? PC++ |
Flags affected: | C DC Z |
Registers affected: | W PC |
Sources referenced: | fr lit |
Cycles: | 3 |
Opcode: | |
Actually compiles to: | mov W, #/lit; add W, fr; sb 3.0 |
Microchip PIC syntax: | MOVLW /lit; ADDWF fr,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/csafrlit.htm, 2KB, , updated: 2004/4/5 17:46, local time: 2024/11/27 08:56,
18.118.227.199: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://techref.massmind.org/Techref/scenix/inst/csafrlit.htm"> SX Instruction CSA fr,#lit</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.