 
Translated and optimized for the Scenix SX by James Newton
;from Dmitry Kiryashov
;inc
	mov	W, #1
	add	count0, W
	snb	C
	add	count1, W
;... {ed: repeat the last two lines for as wide a counter as is needed}
;dec
	mov	W, #1
	sub	count0, W
	sb	C
	sub	count1, W
;... {ed: repeat the last two lines for as wide a counter as is needed}
| file: /Techref/scenix/lib/math/incdec/gp_sx.htm, 0KB, , updated: 2004/6/10 14:40, local time: 2025/10/31 04:21, 
 
216.73.216.219,10-1-97-123:LOG IN | 
| ©2025 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://ecomorder.com/techref/scenix/lib/math/incdec/gp_sx.htm"> SX Math Increment / Decrement General Purpose</A> | 
| Did you find what you needed? | 
| Welcome to ecomorder.com! | 
| Welcome to ecomorder.com! | 
.