
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
265
Example
The Carry flag is set and it is required to jump back four locations from 480. The assembly
language statement is
JR C, $–4
The resulting object code and final Program Counter value is shown in the following table:
Location Instruction
47C ← PC after jump
47D –
47E –
47F –
480 38
481 FA (two’s
complement – 6)
Comentarios a estos manuales