A86: Re: _CreateReal


[Prev][Next][Index][Thread]

A86: Re: _CreateReal




> From: ComAsYuAre@aol.com
> Subject: Re: A86: Re: _createreal
> 
> It would be easier if column and row were separate, so you'd do 
> something 
> like this instead:
> 
> 15.02->a   ;15=col, 02=row
> 
> That way the asm prog could just load one byte for the column (the 
> first 2 
> digits) and another byte for the row (the next two digits).
yeah. will would have
i guess you would then
add the first nibble (the
high nibble) to the second
nibble to get the
actual columns. this might
work...
========start code==========
	ld a,(first_byte)	;get the byte
	ld c,a			;save it away
	and %11110000		;clear low nibble
	rrca
	rrca
	rrca
	rrca			;shift it over
	ld b,a			;save that away
	ld a,c			;get back original
	and %00001111		;clear high nibble
	add a,d		;add it
======end code==========

jimi malcolm
malcolmj1@juno.com
http://guide.iwarp.com

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.