English
Language : 

DR805X Datasheet, PDF (40/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.16. JC
- 40 -
Instruction: JC rel
Function: Jump if carry is set
Description:
If the carry flag is set, branch to the address indicated; otherwise
proceed with the next instruction. The branch destination is computed
by adding the signed relative- displacement in the second instruction
byte to the PC, after incrementing the PC twice. No flags are affected.
Operation:
(PC) ← (PC) + 2
if (C) = 1 then
(PC) ← (PC) + rel
Bytes:
Cycles:
2
3 – C=1
2 – C=0
Encoding:
01000000
relative address
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.