24
IN STRUC TION S
Ad d r e s s in g m o d e :
F u n c tio n :
In s tr u c tio n s :
Ex a m p le :
Addressing mode
Ac c u m u la t o r Bit Re la t iv e
Accumulator Bit Relative
Specifies the address in a memory location where the
n e x t O p - C o d e i s l o c a t e d . T h e b i t p o s i t i o n i s
designated by the high-order three bits of the Op-Code.
If the branch condition is satisfied, Operand and the
Program Counter are added. The result of this
addition is the address in the memory location.
When the branch condition is not satisfied, the next
instruction is executed.
BBC, BBS
Mnemonic
Machine code
∆
BBC
∆
5,A,
∗
–12
B3
16
F2
16
Decimal
0
1
1 1
1 1
0
Accumulator
bit 5
Memory
0
Operand (F2
16
)
*
*
*
Address to be
executed next
–12
+2
Jump
0
1
1
1 1
1 1
0
Accumulator
bit 5
Memory
0
Operand (F2
16
)
*
*
Address to be
executed next
+2
0
When the bit 5 of the
Accumulator is set
When the bit 5 of the
Accumulator is cleared
Op-code(B3
16
)
Bit designation
Op-code(B3
16
)
Bit designation