Re: LZ: manipulations
[Prev][Next][Index][Thread]
Will Stokes (3D Diamond productions) wrote:
>
> wstokes@vertex.ucls.uchicago.edu
> http://www.uic.edu/~hhstokes/index.html
> Will Stokes
>
> quick and to the point, this is a dumb question I should already know the
> answer to but for some reason I don't.
>
> other then adding registers can you:
>
> multiply registers and values? how?
There are multiplying routines at ticalc.org. Both 16-bit and 32-bit.
> given register a=5 subtract a from 50 or some other number (50-a)? how?
ld a,5
sub 50
neg
>
> any other manipulations (division) (a = -a) that i can do? How?
yeah, use neg. Quite handy :)
--------------------------
NEG Negate accumulator
Function: A <== 0-A
--------------------------
>
> sorry this is such a dumb question but it really would make assembly
> programming more convienent If I knew an easier way then making endless
> subrotines.
<pre>
--
Real name: Jimmy Mårdell
Email....: mailto:mja@algonet.se
IRC-name.: Yarin
WWW......: http://www.algonet.se/~mja
</pre>
References: