please dont rip this site

PIC Microcontoller Radix Math Method

ASCII hexadecimal to Binary

paulswork-Remove- at

here are a couple of BIN to ASCII converters I wrote, might be useful.
; Routine:ASCIItoBIN
; Input Registers:ASCII_MSW, ASCII_LSW
; Output Registers: BUFFER
; Internal Registers:None
; CALLS:None
; Function: Receives two ASCII bytes in ASCII_MSW and ASCII_LSW registers.
; These two bytes are converted into 1 byte binary, returned from this 
; routine in register BUFFER
ASCIItoBIN	MOVLW 	65		;convert ascii into MSW address 
		MOVLW 	48
		BTFSC 	StatusREG,C
		MOVLW 	55
		ANDLW 	b'00001111'
		MOVWF 	BUFFER		;Save result of the upper nibble
		MOVLW 	65		;convert ascii into LSW address 
		MOVLW 	48
		BTFSC 	StatusREG,C
		MOVLW 	55
		ANDLW 	b'00001111'	;Get result of lower nibble
		IORWF 	BUFFER,1	;and put final result in BUFFER for output
		retlw 0

file: /Techref/microchip/math/radix/a2b-2d8b-pw.htm, 1KB, , updated: 2003/10/21 17:36, local time: 2023/2/5 22:31,

 ©2023 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=""> PIC Microcontoller Radix Math Method ASCII hexadecimal to Binary</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2023 contributors:
o List host: MIT, Site host, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!