please dont rip this site

NEW201905.TXT

 

ON 20190501@10:20:36 AM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/other/newtons/ps01/ps01_063.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://techref.massmind.org/techref/diff.asp?url=\Techref\other\newtons\ps01\ps01_063.htm&version=0



ON 20190501@11:30:13 AM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/io/stepper/THB6064/index.htm#43586.2674189815
James Newton[JMN-EFP-786] removed post 43586.2674189815

|Delete '

  <LI>'



ON 20190501@11:31:09 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#43586.076712963
James Newton[JMN-EFP-786] removed post 43586.076712963

|Delete '

   <LI>'



ON 20190501@11:31:16 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#43585.2891319444
James Newton[JMN-EFP-786] removed post 43585.2891319444

|Delete '
</UL>'



ON 20190501@11:31:32 AM at page:
On a web page you were interested in at:
http://massmind.org/Techref/idea/websites.htm#43585.809224537
James Newton[JMN-EFP-786] removed post 43585.809224537

|Delete '

   <LI>'



ON 20190501@11:31:42 AM at page:
On a web page you were interested in at:
http://massmind.org/Techref/idea/websites.htm#43585.7403819444
James Newton[JMN-EFP-786] removed post 43585.7403819444

|Delete '

   <LI>'



ON 20190501@11:32:13 AM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#43585.6258796296
James Newton[JMN-EFP-786] removed post 43585.6258796296

|Delete '

   <LI>'



ON 20190501@11:33:00 AM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/io/steppers.htm#43585.252337963
James Newton[JMN-EFP-786] removed post 43585.252337963

|Delete '

  <LI>'



ON 20190501@11:34:06 AM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/other/newtons/wc_toc.htm#43584.6837268519
James Newton[JMN-EFP-786] removed post 43584.6837268519

|Delete '

   <LI>'



ON 20190501@11:34:17 AM at page:
On a web page you were interested in at:
http://piclist.com/Techref/member/jwn-hotmail-f41/TIMER_TUTORIAL.htm#43584.5985185185
James Newton[JMN-EFP-786] removed post 43584.5985185185

|Delete '

   <LI>'



ON 20190501@11:35:06 AM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#43583.7724884259
James Newton[JMN-EFP-786] removed post 43583.7724884259

|Delete '
</UL>'



ON 20190501@11:35:30 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/contactmgmt.htm#43583.7470717593
James Newton[JMN-EFP-786] removed post 43583.7470717593

|Delete '

   <LI>'



ON 20190501@11:39:22 AM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/jal/drivingbipolarsteppermotors.htm#43583.4076273148
James Newton[JMN-EFP-786] removed post 43583.4076273148

|Delete '
</UL>'



ON 20190504@2:54:12 PM at page:
On a web page you were interested in at:
http://piclist.com/Techref/member/jwn-hotmail-f41/TIMER_TUTORIAL.htm#43587.518599537
James Newton[JMN-EFP-786] removed post 43587.518599537

|Delete '

   <LI>'



ON 20190504@2:54:44 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/io/SERVO/BOBPID.htm#43587.0665393519
James Newton[JMN-EFP-786] removed post 43587.0665393519

|Delete '

  <LI>'



ON 20190504@2:55:03 PM at page:
On a web page you were interested in at:
http://www.ecomorder.com/Techref/ecommerce/contactmgmt.htm#43586.7440972222
James Newton[JMN-EFP-786] removed post 43586.7440972222

|Delete '

   <LI>'



ON 20190509@4:14:18 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#43593.7107291667
James Newton[JMN-EFP-786] removed post 43593.7107291667

|Delete '

   <LI>'



ON 20190509@4:14:27 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/piclist/index.htm#43593.7108449074
James Newton[JMN-EFP-786] removed post 43593.7108449074

|Delete '

   <LI>'



ON 20190509@4:20:10 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/io/stepper/linistep/halfstep.htm#43591.5295138889
James Newton[JMN-EFP-786] published post 43591.5295138889

   <LI>'



ON 20190509@4:21:12 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#43590.1886689815
James Newton[JMN-EFP-786] removed post 43590.1886689815

|Delete '
</UL>'



ON 20190509@4:21:16 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/io/stepper/linistep/LiniV3_bld.htm#43590.2431481481
James Newton[JMN-EFP-786] removed post 43590.2431481481

|Delete '

  <LI>'



ON 20190509@4:21:30 PM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#43575.6519791667
James Newton[JMN-EFP-786] removed post 43575.6519791667

|Delete '

   <LI>'



ON 20190509@4:21:56 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/listfaq.htm#43589.9332523148
James Newton[JMN-EFP-786] removed post 43589.9332523148

|Delete '

   <LI>'



ON 20190509@4:22:58 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/listfaq.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://www.piclist.com/techref/diff.asp?url=\Techref\piclist\listfaq.htm&version=14



ON 20190509@4:24:11 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/microchip/math/radix/index.htm#43594.6834606482
James Newton[JMN-EFP-786] Code:

<PRE>Compact and fast 10bit to BCD conversion for converting 
small / midrange PIC 10bit ADC ADRSH and ADRSL 	
 
;****************************************************
;*	10bit BINARY to BCD		*
;****************************************************
;
;An implimentation of the 'Shift and add-3' Algorithm
;		for small MicroChip 'PIC' microcomputers
;
;ALGORITHM
;
;1)Shift binary number one bit left (into a BCD 'result'
;  (initially empty)
;2)If any 4 bit BCD column is greater than 5[hex] add 3[hex]
;3)Goto 1) {until the LSB binary bit is shifted out}
;
;&lt;------MSB				LSB-----&amp;gt;
;------------- BCD ------------]  [------ binary -----
;					
;	   TENS		  UNITS
;	BCD column	BCD column	MSB	bit	bit	
;	0  0  0  0	0  0  0  0	 1	 0	 1	 
;
;				&lt;------	/  &lt;---/    &lt;---/ 
;Inalisation
;**************

Processor 16F818
include &lt;p16f818.inc&gt;


cblock	0x020	;Define variable block starting at $020

binH		;bin is the 8bit binary value to be converted
bin		;The 2bit binary MSB's to be converted
bcdH		;Thousands (always blank)/ Hundreds nybbles
bcdL		;Tens / Units nybbles
counter
temp
	
endc


	

_bin2bcd	  movlw    	d'8'

	movwf   counter

        clrf    bcdL		
        clrf    bcdH
			
;Save time by not shifting in first 6 bits  (always '0's)
;--------------------------------------------------------
	swapf	binH,1	;Chop off first nybble (TEN THOUSANDS)
	rlf	binH,1	;Shift out first 2 MSB's(always '0's)
	rlf	binH,1

;Ssave more ime by no test and add +3' for first TWO shifts
;---------------------------------------------------------------------
			
	 rlf    binH,F	;Shifting 'binH' left through carry into BCD nybbles
         rlf    bcdL,F	
         rlf    binH,F
         rlf   	bcdL,F	;binH (pic ADC register ADRESH) done with!

           
;Iteration loop shifts the 4 'columns' (10TH, THO, HUN, TEN, UNT) 1 bit left
;Tests each coulmn (4bit nybble) if &gt; 5, adds '3' 
;Shifts in the next MSB of the binary for conversion on the right. 
;(for remaining EIGHT shifts)

Next_bit movfw   bcdL
         addlw   0x33	 ;Add 3 to both nybbles (T/U) in 'temp'
         movwf   temp
         movfw   bcdL
         btfsc   temp,3  ;Test MSB of Units+3 nybble in 'temp 
         addlw   0x03	  ;Add 3 to U nybble if units+3 MSB = 1 
         btfsc   temp,7  ;Test MSB of Tens+3nybble in 'temp'
         addlw   0x30	 ;Add 3 to T nybbleiftens+3 MSB=1 (&gt;5)	
         movwf   bcdL
		
	 movfw	 bcdH
	 addlw	 0x33	 ;Add 3 to both nybbles (T/H) in temp
	 mmovfw	 bcdH
	 btfsc   temp,3  ;Test MSB of Hundreds+3 nybble in temp 
         addlw   0x03	  ;Add 3 to H nybble if units+3 MSB=1
         btfsc   temp,7  ;Test MSB of Thousand+3 nybble in temp
         addlw   0x30	 ;Add 3 to TH nybble if tens+3 MSB=1
	 movwf	 bcdH

 	 rlf     bin,F	 ;Shift in next MSB from bin into T/UNITS
  	 rlf	 bcdL,F  ;Shift next MSB from TENS/UNITS to TH/H
         rlf     bcdH,F  ;Shift up 

         decfsz  counter,F
         goto    Next_bit
         return



end
</PRE>



ON 20190515@9:17:22 AM at page:
On a web page you were interested in at:
http://sxlist.com/Techref/scenix/index.htm#43598.8961226852
James Newton[JMN-EFP-786] removed post 43598.8961226852

|Delete '

   <LI>'



ON 20190515@9:17:30 AM at page:
On a web page you were interested in at:
http://massmind.org/Techref/idea/websites.htm#43597.0956134259
James Newton[JMN-EFP-786] removed post 43597.0956134259

|Delete '

   <LI>'



ON 20190515@9:18:00 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#43596.562025463
James Newton[JMN-EFP-786] removed post 43596.562025463

|Delete '

   <LI>'



ON 20190515@9:18:27 AM at page:
On a web page you were interested in at:
http://piclist.com/Techref/member/jwn-hotmail-f41/TIMER_TUTORIAL.htm#43595.6654513889
James Newton[JMN-EFP-786] removed post 43595.6654513889

|Delete '

   <LI>'



ON 20190516@2:31:02 PM at page:
On a web page you were interested in at:
http://piclist.com/Techref/member/jwn-hotmail-f41/TIMER_TUTORIAL.htm#43600.7196643519
James Newton[JMN-EFP-786] removed post 43600.7196643519

|Delete '

   <LI>'



ON 20190520@5:20:01 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/other/solar/case1.htm#43605.7222337963
James Newton[JMN-EFP-786] Says

2019/04/02 to 05/20 PV system down to replace roof.



ON 20190523@9:28:29 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#43608.1590625
James Newton[JMN-EFP-786] removed post 43608.1590625

|Delete '

   <LI>'



ON 20190523@9:28:32 AM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#43607.3322800926
James Newton[JMN-EFP-786] removed post 43607.3322800926

|Delete '

   <LI>'



ON 20190523@9:29:21 AM at page:
On a web page you were interested in at:
http://www.sxlist.com/Techref/supplies.htm#43607.0909259259
James Newton[JMN-EFP-786] removed post 43607.0909259259

|Delete '

   <LI>'



ON 20190523@9:29:24 AM at page:
On a web page you were interested in at:
http://sxlist.com/Techref/scenix/index.htm#43606.1636805556
James Newton[JMN-EFP-786] removed post 43606.1636805556

|Delete '

   <LI>'



ON 20190523@9:29:53 AM at page:
On a web page you were interested in at:
http://massmind.org/Techref/idea/websites.htm#43604.1916087963
James Newton[JMN-EFP-786] removed post 43604.1916087963

|Delete '

   <LI>'



ON 20190523@9:30:08 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#43603.6305787037
James Newton[JMN-EFP-786] removed post 43603.6305787037

|Delete '

   <LI>'



ON 20190529@9:43:41 PM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#43612.4688078704
James Newton[JMN-EFP-786] removed post 43612.4688078704

|Delete '

   <LI>'



ON 20190529@9:46:55 PM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#43612.8865972222
James Newton[JMN-EFP-786] removed post 43612.8865972222

|Delete '

   <LI>'



ON 20190529@9:47:01 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#43613.751712963
James Newton[JMN-EFP-786] removed post 43613.751712963

|Delete '
</UL>'



ON 20190529@9:48:06 PM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://www.massmind.org/techref/diff.asp?url=\Techref\idea\websites.htm&version=276



ON 20190530@5:27:24 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/supplies.htm#43613.1062152778
James Newton[JMN-EFP-786] removed post 43613.1062152778

|Delete '

   <LI>'



ON 20190531@4:48:22 PM at page:
On a web page you were interested in at:
http://www.sxlist.com/Techref/scenix/lib/math/add.htm#43616.1503356481
James Newton[JMN-EFP-786] removed post 43616.1503356481

|Delete '
</UL>'



ON 20190531@4:48:24 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/other/newtons/wc_toc.htm#43615.8007060185
James Newton[JMN-EFP-786] removed post 43615.8007060185

|Delete '

   <LI>'



ON 20190531@4:48:50 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/microchip/math/div/index.htm#43615.3080902778
James Newton[JMN-EFP-786] removed post 43615.3080902778

|Delete '
</UL>'



file: /Techref/new201905.txt, 46KB, , updated: 2019/5/31 16:48, local time: 2024/3/28 11:53,
TOP NEW HELP FIND: 
3.86.235.207: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/techref/new201905.txt"> new201905</A>

Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .