23.03.2015 Views

eZ80 CPU - writeframeofmind.biz

eZ80 CPU - writeframeofmind.biz

eZ80 CPU - writeframeofmind.biz

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>eZ80</strong> <strong>CPU</strong><br />

User Manual<br />

38<br />

DJNZ d<br />

Decrement B Jump not Zero<br />

Operation<br />

Description<br />

B ← B – 1<br />

If B ≠ 0<br />

PC ← PC + d<br />

The B register decrements by 1. If the resultant value in register B is not zero,<br />

the two’s complement displacement d is added to the value of the program<br />

counter. The jump is measured from the address of the instruction Op Code<br />

following this instruction.<br />

Condition Bits Affected<br />

None<br />

Mnemonic Operands ADL Mode Cycles Op Codes<br />

DJNZ d X 2/4 10, dd<br />

UM007701-1100

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!