Re: A83: JR command


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

Re: A83: JR command




that's wrong, jp takes less time than jr. it's just that jr is preferrd
because it is one byte smaller. this comes from the z80 instruction set
time chart:

JP $NN        10
JR $N+2       12

as you can see jr takes 2 more clock cycles than jp. in case you are
wondering the +2 just means you add 2 bytes to the number of bytes you
are jumping.


References: