
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
269
Example
The Zero Flag is set and it is required to jump forward five locations from address 300.
The following assembly language statement is used:
JR Z ,$ + 5
The resulting object code and final Program Counter value are:
Location Instruction
300 28
301 03
302
–
303 –
304 –
305 ← PC after jump
Kommentare zu diesen Handbüchern