mc68hc05bd3 Freescale Semiconductor, Inc, mc68hc05bd3 Datasheet - Page 77

no-image

mc68hc05bd3

Manufacturer Part Number
mc68hc05bd3
Description
Mc68hc05bd3d Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MC68HC05BD3
Store X in memory
Jump to subroutine
Load A from memory
Load X from memory
Store A in memory
Add memory to A
Add memory and carry to A
Subtract memory
Subtract memory from A
with borrow
AND memory with A
OR memory with A
Exclusive OR memory with A
Arithmetic compare A
with memory
Arithmetic compare X
with memory
Bit test memory with A
(logical compare)
Jump unconditional
Function
Description
Operation
Condition
Source
codes
Form
ORA
EOR
CMP
ADD
ADC
SUB
SBC
AND
CPX
JMP
LDA
LDX
STA
STX
JSR
BIT
Table 9-2 Register/memory instructions
CPU CORE AND INSTRUCTION SET
AE
AB
AA
A6
A9
A0
A2
A4
A8
A1
A3
A5
Immediate
Multiplies the eight bits in the index register by the eight
bits in the accumulator and places the 16-bit result in the
concatenated accumulator and index register.
Table 9-1 MUL instruction
Addressing mode
2
2
2
2
2
2
2
2
2
2
2
2
Inherent
2
2
2
2
2
2
2
2
2
2
2
2
BE
BF
BB
BA
BC
BD
B6
B7
B9
B0
B2
B4
B8
B1
B3
B5
Direct
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
H : Cleared
N : Not affected
Z : Not affected
C : Cleared
I : Not affected
X:A
3
3
4
4
3
3
3
3
3
3
3
3
3
3
2
5
MUL
Cycles
CC
CD
C6
CE
C7
CF
CB
C9
C0
C2
C4
CA
C8
C1
C3
C5
11
Extended
X*A
Addressing modes
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
Bytes
4
4
5
5
4
4
4
4
4
4
4
4
4
4
3
6
1
FE
FF
FB
FA
F8
FC
FD
F6
F7
F9
F0
F2
F4
F1
F3
F5
Indexed
offset)
(no
Opcode
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
$42
3
3
4
4
3
3
3
3
3
3
3
3
3
3
2
5
EE
EB
EA
EC
ED
E6
E7
EF
E9
E0
E2
E4
E8
E1
E3
E5
Indexed
offset)
(8-bit
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
4
5
4
4
4
4
5
4
4
4
4
4
4
4
3
6
D6
DE
D7
DF
DB
D9
D0
D2
D4
DA
D8
D1
D3
D5
DC
DD
Indexed
offset)
(16-bit
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
TPG
9-5
5
5
6
6
5
5
5
5
5
5
5
5
5
5
4
7
9

Related parts for mc68hc05bd3