Re: A85: asm question
[Prev][Next][Index][Thread]
Re: A85: asm question
On Mon, 10 Nov 1997 20:31:12 -0500, you wrote:
>what would everyone agree upon as the most efficient method of performing
>this operation:
>
>a = a - 7 (Where a = the register a)
>
>Wyrmlord
>egillespie@juno.com
>
I would have to imagine that "sub 7" would be. I takes 7 clocks.
This is the same amount of time that it would take just to load a 7
into a register, if that is the other way you are thinking of doing
it. so "ld b,7 \ sub b" would take 7 + 4 clocks and one more byte.
-mike pearce
mgp4007@omega.uta.edu
References: