[A83] Re: Optimizing


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

[A83] Re: Optimizing




bytesize("pop HL+push HL") < bytesize("call label")!

//David


----- Original Message -----=20
From: "Peter-Martijn Kuipers" <hyper@hbyte.net>
To: <assembly-83@lists.ticalc.org>
Sent: Friday, June 21, 2002 10:39 PM
Subject: [A83] Re: Optimizing


>=20
> TIME_TO_EXECUTE !=3D SIZE
>=20
>=20
> On Fri, 21 Jun 2002, David L wrote:
>=20
> >=20
> > Doesn't a call take up three bytes whereas pop hl and push hl
> >  onlytake up two bytes?
> >=20
> > //David, Cirrus Programming
> >=20
> >=20
> >=20
> > > Then in=3D20
> > > fact these two instructions take up just the same amount of=3D20
> > > space as a single CALL instruction, but they take much less=3D20
> > > time to execute.
> > >=3D20
> > > PG
> > >=3D20
> > >=3D20
> > >=3D20
> >=20
> >=20
>=20
>=20




Follow-Ups: References: