[A83] Re: Optimizing


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

[A83] Re: Optimizing




> Doesn't a call take up three bytes whereas pop hl and 
push hl
>  onlytake up two bytes?
> 
I was talking about the sequence "OR A \ SBC HL, DE", which 
takes three bytes, just like a single CALL instruction. And 
it's certainly faster than calling the actual CPHLDE rom 
routine. Forget about counting clocks, it makes no sense to 
say things like a CALL takes 17 clocks, because a 
subroutine contains at least some sort of return...

PG





Follow-Ups: References: