mc68hc05l28 Freescale Semiconductor, Inc, mc68hc05l28 Datasheet - Page 115

no-image

mc68hc05l28

Manufacturer Part Number
mc68hc05l28
Description
?exible General-purpose Microcomputer
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MC68HC05L28
Load A from memory
Load X from memory
Store A in memory
Store X 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
Jump to subroutine
Function
Description
Operation
Condition
Source
codes
Form
AND
ORA
EOR
LDA
LDX
ADD
ADC
SUB
CMP
STA
STX
SBC
CPX
JMP
JSR
BIT
Table 11-2 Register/memory instructions
CPU CORE AND INSTRUCTION SET
AA
AE
AB
A4
A8
A6
A9
A0
A1
A2
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 11-1 MUL instruction
2
2
2
2
2
2
2
2
2
2
2
Addressing mode
2
2
2
2
2
2
2
2
2
2
2
2
Inherent
2
BE
BB
BA
B6
B4
B8
B9
B0
B2
B1
B3
B5
BC
BD
B7
BF
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
3
3
3
3
3
3
3
3
X:A
3
3
3
3
4
4
2
5
Cycles
CE
CA
MUL
CB
C4
C6
C9
C0
C8
C1
C2
C3
C5
CC
CD
C7
CF
11
Extended
X*A
3
3
3
3
3
Addressing modes
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
Bytes
3
6
5
5
1
FE
FA
FB
F4
F6
F8
F9
F0
F2
F1
F3
F5
FC
FD
FF
F7
Indexed
offset)
1
1
1
1
1
1
1
1
1
Opcode
(no
1
1
1
1
1
1
1
$42
3
3
3
3
3
3
3
3
3
3
3
3
2
5
4
4
EA
EE
EB
E6
E4
E8
E9
E0
E1
E2
E3
EC
ED
EF
E5
E7
Indexed
offset)
2
2
2
2
(8-bit
2
2
2
2
2
2
2
2
2
2
2
2
4
4
4
4
4
4
4
4
4
4
4
4
3
6
5
5
MOTOROLA
DE
DB
DA
D4
D6
D9
D0
D8
D2
D1
D3
DC
DD
D5
DF
D7
Indexed
(16-bit
offset)
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
TPG
5
11-5
5
5
5
5
5
5
5
5
5
5
5
4
7
6
6
11

Related parts for mc68hc05l28