From: Scott Dattalo
mov W, >>bcd and W, #01111000b ;W = tens*8 mov temp, W clrb C rr temp ;temp = tens*4 rr temp ;temp = tens*2 mov W, bcd-w ;W = tens*16 + ones - tens*8 ;W = tens*8 + ones add W, temp ;W = tens*10 + ones
|file: /Techref/scenix/lib/math/radix/bp2b-2d8b_sx.htm, 0KB, , updated: 2004/6/10 13:40, local time: 2019/12/13 23:25,
|©2019 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/lib/math/radix/bp2b-2d8b_sx.htm"> SX Microcontroller Radix Math Method BCD packed to binary 2 digit to 8 bit</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!