Mikroone - Online Help
JC n - Jump if Carry - Bit is set
Operating Mode
PC := n if Carry - Bit is 1
PC := PC + 1 if Carry - Bit is 0
Description
Checks Carry - Bit, if it has value 1, the program counter is set to n, else the program counter is just incremented by 1
Binary Command
15 14 13 12 11 |
10 9 8 7 6 5 4 3 2 1 0 |
11101 |
n |
Example
JC 23
15 14 13 12 11 |
10 9 8 7 6 5 4 3 2 1 0 |
11101 |
00000010111 |