Re: A86: 16-bit Rotations
[Prev][Next][Index][Thread]
Re: A86: 16-bit Rotations
Wow, you guys could probably teach me a couple things about having
optimized code. However I am curious as to the naming convention. I
do know it is Rotation Left/Right <Something> HL, but why the 'C'? Is
it because it is accessed using call instead of jmp or jsr?
>Presuming you mean bit not byte...
>
>rlc_hl:
> add hl,hl
> ret nc
> inc l
> ret
>
>rrc_hl:
> ld a,h
> rra
> rr l
> rr h
> ret
--
----
"Science describes how our universe reacts in a mathematical
representation of it, but can be described in regular terms. These
terms seem to infringe on Religion's role of describing the creation,
and once Science finds a clue to the creation, Religion declares
Science a heretic. Religion scolds Science, telling it to stick to
doing what it does best. To this, Science laughs and complies, going
after the creation once again. Wouldn't it be fair to listen to the
fact that these humans could have been a product of the Creator just
as we are, Borak?" - Cyander, Day for the Xenith: Xenith Dawn
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Follow-Ups:
References: