English
Language : 

MC68HC05BD3 Datasheet, PDF (79/112 Pages) Motorola, Inc – HCMOS microcontroller
Table 9-5 Read/modify/write instructions
Inherent
(A)
Addressing modes
Inherent
(X)
Direct
Indexed
(no
offset)
Indexed
(8-bit
offset)
Function
Increment
Decrement
Clear
Complement
Negate (two’s complement)
Rotate left through carry
Rotate right through carry
Logical shift left
Logical shift right
Arithmetic shift right
Test for negative or zero
Multiply
INC 4C 1 3 5C 1 3 3C 2 5 7C 1 5 6C 2 6
DEC 4A 1 3 5A 1 3 3A 2 5 7A 1 5 6A 2 6
CLR 4F 1 3 5F 1 3 3F 2 5 7F 1 5 6F 2 6
COM 43 1 3 53 1 3 33 2 5 73 1 5 63 2 6
NEG 40 1 3 50 1 3 30 2 5 70 1 5 60 2 6
ROL 49 1 3 59 1 3 39 2 5 79 1 5 69 2 6
ROR 46 1 3 56 1 3 36 2 5 76 1 5 66 2 6
LSL 48 1 3 58 1 3 38 2 5 78 1 5 68 2 6
LSR 44 1 3 54 1 3 34 2 5 74 1 5 64 2 6
ASR 47 1 3 57 1 3 37 2 5 77 1 5 67 2 6
TST 4D 1 3 5D 1 3 3D 2 4 7D 1 4 6D 2 5
MUL 42 1 11
Table 9-6 Control instructions
Inherent addressing mode
9
Function
Mnemonic Opcode # Bytes # Cycles
Transfer A to X
TAX
97
1
2
Transfer X to A
TXA
9F
1
2
Set carry bit
SEC
99
1
2
Clear carry bit
CLC
98
1
2
Set interrupt mask bit
SEI
9B
1
2
Clear interrupt mask bit
CLI
9A
1
2
Software interrupt
SWI
83
1
10
Return from subroutine
RTS
81
1
6
Return from interrupt
RTI
80
1
9
Reset stack pointer
RSP
9C
1
2
No-operation
NOP
9D
1
2
Stop
STOP
8E
1
2
Wait
WAIT
8F
1
2
MC68HC05BD3
CPU CORE AND INSTRUCTION SET
TPG
MOTOROLA
9-7