0% found this document useful (0 votes)
132 views7 pages

HC11 Instruction Set

This document provides a summary of the instruction set for the M68HC11 microcontroller in table format. The table lists each instruction, its operation, addressing modes, opcode, number of machine cycles, and its effect on condition codes. It shows the instructions over 7 pages to provide details on all possible addressing modes for each instruction.

Uploaded by

Younes Aeh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views7 pages

HC11 Instruction Set

This document provides a summary of the instruction set for the M68HC11 microcontroller in table format. The table lists each instruction, its operation, addressing modes, opcode, number of machine cycles, and its effect on condition codes. It shows the instructions over 7 pages to provide details on all possible addressing modes for each instruction.

Uploaded by

Younes Aeh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

3.

5 Instruction Set
Refer to Table 3-2, which shows all the M68HC11 instructions in all possible address-
ing modes. For each instruction, the table shows the operand construction, the number
of machine code bytes, and execution time in CPU E-clock cycles.

Table 3-2 Instruction Set (Sheet 1 of 7)


Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
ABA Add A+B⇒A INH 1B — 2 — — ∆ — ∆ ∆ ∆ ∆
Accumulators
ABX Add B to X IX + (00 : B) ⇒ IX INH 3A — 3 — — — — — — — —
ABY Add B to Y IY + (00 : B) ⇒ IY INH 18 3A — 4 — — — — — — — —
ADCA (opr) Add with Carry A+M+C⇒A A IMM 89 ii 2 — — ∆ — ∆ ∆ ∆ ∆
to A A DIR 99 dd 3
A EXT B9 hh ll 4
A IND,X A9 ff 4
A IND,Y 18 A9 ff 5
ADCB (opr) Add with Carry B+M+C⇒B B IMM C9 ii 2 — — ∆ — ∆ ∆ ∆ ∆
to B B DIR D9 dd 3
B EXT F9 hh ll 4
B IND,X E9 ff 4
B IND,Y 18 E9 ff 5
ADDA (opr) Add Memory A+M⇒A A IMM 8B ii 2 — — ∆ — ∆ ∆ ∆ ∆
to A A DIR 9B dd 3
A EXT BB hh ll 4
A IND,X AB ff 4
A IND,Y 18 AB ff 5
ADDB (opr) Add Memory B+M⇒B B IMM CB ii 2 — — ∆ — ∆ ∆ ∆ ∆
to B B DIR DB dd 3
B EXT FB hh ll 4
B IND,X EB ff 4
B IND,Y 18 EB ff 5
ADDD (opr) Add 16-Bit to D D + (M : M + 1) ⇒ D IMM C3 jj kk 4 — — — — ∆ ∆ ∆ ∆
DIR D3 dd 5
EXT F3 hh ll 6
IND,X E3 ff 6
IND,Y 18 E3 ff 7
ANDA (opr) AND A with A•M⇒A A IMM 84 ii 2 — — — — ∆ ∆ 0 —
Memory A DIR 94 dd 3
A EXT B4 hh ll 4
A IND,X A4 ff 4
A IND,Y 18 A4 ff 5
ANDB (opr) AND B with B•M⇒B B IMM C4 ii 2 — — — — ∆ ∆ 0 —
Memory B DIR D4 dd 3
B EXT F4 hh ll 4
B IND,X E4 ff 4
B IND,Y 18 E4 ff 5
ASL (opr) Arithmetic EXT 78 hh ll 6 — — — — ∆ ∆ ∆ ∆
Shift Left IND,X 68 ff 6
0
C b7 b0 IND,Y 18 68 ff 7
ASLA Arithmetic A INH 48 — 2 — — — — ∆ ∆ ∆ ∆
Shift Left A
0
C b7 b0
ASLB Arithmetic B INH 58 — 2 — — — — ∆ ∆ ∆ ∆
Shift Left B 0
C b7 b0
ASLD Arithmetic INH 05 — 3 — — — — ∆ ∆ ∆ ∆
Shift Left D 0
C b7 A b0 b7 B b0
ASR Arithmetic EXT 77 hh ll 6 — — — — ∆ ∆ ∆ ∆
Shift Right IND,X 67 ff 6
b7 b0 C IND,Y 18 67 ff 7
ASRA Arithmetic A INH 47 — 2 — — — — ∆ ∆ ∆ ∆
Shift Right A
b7 b0 C
ASRB Arithmetic B INH 57 — 2 — — — — ∆ ∆ ∆ ∆
Shift Right B
b7 b0 C
BCC (rel) Branch if Carry ?C=0 REL 24 rr 3 — — — — — — — —
Clear

MOTOROLA CENTRAL PROCESSING UNIT MC68HC11D3


3-8 TECHNICAL DATA
Table 3-2 Instruction Set (Sheet 2 of 7)
Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
BCLR (opr) Clear Bit(s) M • (mm) ⇒ M DIR 15 dd mm 6 — — — — ∆ ∆ 0 —
(msk) IND,X 1D ff mm 7
IND,Y 18 1D ff mm 8
BCS (rel) Branch if Carry ?C=1 REL 25 rr 3 — — — — — — — —
Set
BEQ (rel) Branch if = ?Z=1 REL 27 rr 3 — — — — — — — —
Zero
BGE (rel) Branch if ∆ ?N⊕V=0 REL 2C rr 3 — — — — — — — —
Zero
BGT (rel) Branch if > ? Z + (N ⊕ V) = 0 REL 2E rr 3 — — — — — — — —
Zero
BHI (rel) Branch if ?C+Z=0 REL 22 rr 3 — — — — — — — —
Higher
BHS (rel) Branch if ?C=0 REL 24 rr 3 — — — — — — — —
Higher or
Same
BITA (opr) Bit(s) Test A A•M A IMM 85 ii 2 — — — — ∆ ∆ 0 —
with Memory A DIR 95 dd 3
A EXT B5 hh ll
A IND,X A5 ff 4
A IND,Y 18 A5 ff 4
5
BITB (opr) Bit(s) Test B B•M B IMM C5 ii 2 — — — — ∆ ∆ 0 —
with Memory B DIR D5 dd 3
B EXT F5 hh ll
B IND,X E5 ff 4
B IND,Y 18 E5 ff 4
5
BLE (rel) Branch if ∆ ? Z + (N ⊕ V) = 1 REL 2F rr 3 — — — — — — — —
Zero
BLO (rel) Branch if ?C=1 REL 25 rr 3 — — — — — — — —
Lower
BLS (rel) Branch if ?C+Z=1 REL 23 rr 3 — — — — — — — —
Lower or
Same
BLT (rel) Branch if < ?N⊕V=1 REL 2D rr 3 — — — — — — — —
Zero
BMI (rel) Branch if ?N=1 REL 2B rr 3 — — — — — — — —
Minus
BNE (rel) Branch if not = ?Z=0 REL 26 rr 3 — — — — — — — —
Zero
BPL (rel) Branch if Plus ?N=0 REL 2A rr 3 — — — — — — — —
BRA (rel) Branch Always ?1=1 REL 20 rr 3 — — — — — — — —
BRCLR(opr) Branch if ? M • mm = 0 DIR 13 dd mm rr 6 — — — — — — — —
(msk) Bit(s) Clear IND,X 1F ff mm rr 7
(rel) IND,Y 18 1F ff mm rr
8
BRN (rel) Branch Never ?1=0 REL 21 rr 3 — — — — — — — —
BRSET(opr) Branch if Bit(s) ? (M) • mm = 0 DIR 12 dd mm rr 6 — — — — — — — —
(msk) Set IND,X 1E ff mm rr 7
(rel) IND,Y 18 1E ff mm rr
8
BSET (opr) Set Bit(s) M + mm ⇒ M DIR 14 dd mm 6 — — — — ∆ ∆ 0 —
(msk) IND,X 1C ff mm 7
IND,Y 18 1C ff mm
8
BSR (rel) Branch to See Figure 3–2 REL 8D rr 6 — — — — — — — —
Subroutine
BVC (rel) Branch if ?V=0 REL 28 rr 3 — — — — — — — —
Overflow Clear
BVS (rel) Branch if ?V=1 REL 29 rr 3 — — — — — — — —
Overflow Set
CBA Compare A to A–B INH 11 — 2 — — — — ∆ ∆ ∆ ∆
B
CLC Clear Carry Bit 0⇒C INH 0C — 2 — — — — — — — 0
CLI Clear Interrupt 0⇒I INH 0E — 2 — — — 0 — — — —
Mask
CLR (opr) Clear Memory 0⇒M EXT 7F hh ll 6 — — — — 0 1 0 0
Byte IND,X 6F ff 6
IND,Y 18 6F ff
7

MC68HC11D3 CENTRAL PROCESSING UNIT MOTOROLA


TECHNICAL DATA 3-9
Table 3-2 Instruction Set (Sheet 3 of 7)
Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
CLRA Clear 0⇒A A INH 4F — 2 — — — — 0 1 0 0
Accumulator A
CLRB Clear 0⇒B B INH 5F — 2 — — — — 0 1 0 0
Accumulator B
CLV Clear Overflow 0⇒V INH 0A — 2 — — — — — — 0 —
Flag
CMPA (opr) Compare A to A–M A IMM 81 ii 2 — — — — ∆ ∆ ∆ ∆
Memory A DIR 91 dd 3
A EXT B1 hh ll 4
A IND,X A1 ff 4
A IND,Y 18 A1 ff 5
CMPB (opr) Compare B to B–M B IMM C1 ii 2 — — — — ∆ ∆ ∆ ∆
Memory B DIR D1 dd 3
B EXT F1 hh ll 4
B IND,X E1 ff 4
B IND,Y 18 E1 ff 5
COM (opr) Ones $FF – M ⇒ M EXT 73 hh ll 6 — — — — ∆ ∆ 0 1
Complement IND,X 63 ff 6
Memory Byte IND,Y 18 63 ff 7
COMA Ones $FF – A ⇒ A A INH 43 — 2 — — — — ∆ ∆ 0 1
Complement
A
COMB Ones $FF – B ⇒ B B INH 53 — 2 — — — — ∆ ∆ 0 1
Complement
B
CPD (opr) Compare D to D–M:M +1 IMM 1A 83 jj kk 5 — — — — ∆ ∆ ∆ ∆
Memory 16-Bit DIR 1A 93 dd 6
EXT 1A B3 hh ll 7
IND,X 1A A3 ff 7
IND,Y CD A3 ff 7
CPX (opr) Compare X to IX – M : M + 1 IMM 8C jj kk 4 — — — — ∆ ∆ ∆ ∆
Memory 16-Bit DIR 9C dd 5
EXT BC hh ll 6
IND,X AC ff 6
IND,Y CD AC ff 7
CPY (opr) Compare Y to IY – M : M + 1 IMM 18 8C jj kk 5 — — — — ∆ ∆ ∆ ∆
Memory 16-Bit DIR 18 9C dd 6
EXT 18 BC hh ll 7
IND,X 1A AC ff 7
IND,Y 18 AC ff 7
DAA Decimal Adjust Adjust Sum to BCD INH 19 — 2 — — — — ∆ ∆ ∆ ∆
A
DEC (opr) Decrement M–1⇒M EXT 7A hh ll 6 — — — — ∆ ∆ ∆ —
Memory Byte IND,X 6A ff 6
IND,Y 18 6A ff 7
DECA Decrement A–1⇒A A INH 4A — 2 — — — — ∆ ∆ ∆ —
Accumulator
A
DECB Decrement B–1⇒B B INH 5A — 2 — — — — ∆ ∆ ∆ —
Accumulator
B
DES Decrement SP – 1 ⇒ SP INH 34 — 3 — — — — — — — —
Stack Pointer
DEX Decrement IX – 1 ⇒ IX INH 09 — 3 — — — — — ∆ — —
Index Register
X
DEY Decrement IY – 1 ⇒ IY INH 18 09 — 4 — — — — — ∆ — —
Index Register
Y
EORA (opr) Exclusive OR A⊕M⇒A A IMM 88 ii 2 — — — — ∆ ∆ 0 —
A with Memory A DIR 98 dd 3
A EXT B8 hh ll 4
A IND,X A8 ff 4
A IND,Y 18 A8 ff 5
EORB (opr) Exclusive OR B⊕M⇒B B IMM C8 ii 2 — — — — ∆ ∆ 0 —
B with Memory B DIR D8 dd 3
B EXT F8 hh ll 4
B IND,X E8 ff 4
B IND,Y 18 E8 ff 5
FDIV Fractional D / IX ⇒ IX; r ⇒ D INH 03 — 41 — — — — — ∆ ∆ ∆
Divide 16 by
16
IDIV Integer Divide D / IX ⇒ IX; r ⇒ D INH 02 — 41 — — — — — ∆ 0 ∆
16 by 16

MOTOROLA CENTRAL PROCESSING UNIT MC68HC11D3


3-10 TECHNICAL DATA
Table 3-2 Instruction Set (Sheet 4 of 7)
Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
INC (opr) Increment M+1⇒M EXT 7C hh ll 6 — — — — ∆ ∆ ∆ —
Memory Byte IND,X 6C ff 6
IND,Y 18 6C ff 7
INCA Increment A+1⇒A A INH 4C — 2 — — — — ∆ ∆ ∆ —
Accumulator
A
INCB Increment B+1⇒B B INH 5C — 2 — — — — ∆ ∆ ∆ —
Accumulator
B
INS Increment SP + 1 ⇒ SP INH 31 — 3 — — — — — — — —
Stack Pointer
INX Increment IX + 1 ⇒ IX INH 08 — 3 — — — — — ∆ — —
Index Register
X
INY Increment IY + 1 ⇒ IY INH 18 08 — 4 — — — — — ∆ — —
Index Register
Y
JMP (opr) Jump See Figure 3–2 EXT 7E hh ll 3 — — — — — — — —
IND,X 6E ff 3
IND,Y 18 6E ff 4
JSR (opr) Jump to See Figure 3–2 DIR 9D dd 5 — — — — — — — —
Subroutine EXT BD hh ll 6
IND,X AD ff 6
IND,Y 18 AD ff 7
LDAA (opr) Load M⇒A A IMM 86 ii 2 — — — — ∆ ∆ 0 —
Accumulator A DIR 96 dd 3
A A EXT B6 hh ll 4
A IND,X A6 ff 4
A IND,Y 18 A6 ff 5
LDAB (opr) Load M⇒B B IMM C6 ii 2 — — — — ∆ ∆ 0 —
Accumulator B DIR D6 dd 3
B B EXT F6 hh ll 4
B IND,X E6 ff 4
B IND,Y 18 E6 ff 5
LDD (opr) Load Double M ⇒ A,M + 1 ⇒ B IMM CC jj kk 3 — — — — ∆ ∆ 0 —
Accumulator DIR DC dd 4
D EXT FC hh ll 5
IND,X EC ff 5
IND,Y 18 EC ff 6
LDS (opr) Load Stack M : M + 1 ⇒ SP IMM 8E jj kk 3 — — — — ∆ ∆ 0 —
Pointer DIR 9E dd 4
EXT BE hh ll 5
IND,X AE ff 5
IND,Y 18 AE ff 6
LDX (opr) Load Index M : M + 1 ⇒ IX IMM CE jj kk 3 — — — — ∆ ∆ 0 —
Register DIR DE dd 4
X EXT FE hh ll 5
IND,X EE ff 5
IND,Y CD EE ff 6
LDY (opr) Load Index M : M + 1 ⇒ IY IMM 18 CE jj kk 4 — — — — ∆ ∆ 0 —
Register DIR 18 DE dd 5
Y EXT 18 FE hh ll 6
IND,X 1A EE ff 6
IND,Y 18 EE ff 6
LSL (opr) Logical Shift EXT 78 hh ll 6 — — — — ∆ ∆ ∆ ∆
Left IND,X 68 ff 6
0
C b7 b0 IND,Y 18 68 ff 7
LSLA Logical Shift A INH 48 — 2 — — — — ∆ ∆ ∆ ∆
Left A
0
C b7 b0
LSLB Logical Shift B INH 58 — 2 — — — — ∆ ∆ ∆ ∆
Left B
0
C b7 b0
LSLD Logical Shift INH 05 — 3 — — — — ∆ ∆ ∆ ∆
Left Double 0
C b7 A b0 b7 B b0
LSR (opr) Logical Shift EXT 74 hh ll 6 — — — — 0 ∆ ∆ ∆
Right IND,X 64 ff 6
0
b7 b0 C IND,Y 18 64 ff 7
LSRA Logical Shift A INH 44 — 2 — — — — 0 ∆ ∆ ∆
Right A
0
b7 b0 C

MC68HC11D3 CENTRAL PROCESSING UNIT MOTOROLA


TECHNICAL DATA 3-11
Table 3-2 Instruction Set (Sheet 5 of 7)
Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
LSRB Logical Shift B INH 54 — 2 — — — — 0 ∆ ∆ ∆
Right B
0
b7 b0 C
LSRD Logical Shift INH 04 — 3 — — — — 0 ∆ ∆ ∆
Right Double
0
b7 A b0 b7 B b0 C
MUL Multiply 8 by 8 A∗B⇒D INH 3D — 10 — — — — — — — ∆
NEG (opr) Two’s 0–M⇒M EXT 70 hh ll 6 — — — — ∆ ∆ ∆ ∆
Complement IND,X 60 ff 6
Memory Byte IND,Y 18 60 ff 7
NEGA Two’s 0–A⇒A A INH 40 — 2 — — — — ∆ ∆ ∆ ∆
Complement
A
NEGB Two’s 0–B⇒B B INH 50 — 2 — — — — ∆ ∆ ∆ ∆
Complement
B
NOP No operation No Operation INH 01 — 2 — — — — — — — —
ORAA (opr) OR A+M⇒A A IMM 8A ii 2 — — — — ∆ ∆ 0 —
Accumulator A DIR 9A dd 3
A (Inclusive) A EXT BA hh ll 4
A IND,X AA ff 4
A IND,Y 18 AA ff 5
ORAB (opr) OR B+M⇒B B IMM CA ii 2 — — — — ∆ ∆ 0 —
Accumulator B DIR DA dd 3
B (Inclusive) B EXT FA hh ll 4
B IND,X EA ff 4
B IND,Y 18 EA ff 5
PSHA Push A onto A ⇒ Stk,SP = SP – 1 A INH 36 — 3 — — — — — — — —
Stack
PSHB Push B onto B ⇒ Stk,SP = SP – 1 B INH 37 — 3 — — — — — — — —
Stack
PSHX Push X onto IX ⇒ Stk,SP = SP – 2 INH 3C — 4 — — — — — — — —
Stack (Lo
First)
PSHY Push Y onto IY ⇒ Stk,SP = SP – 2 INH 18 3C — 5 — — — — — — — —
Stack (Lo
First)
PULA Pull A from SP = SP + 1, A ⇐ Stk A INH 32 — 4 — — — — — — — —
Stack
PULB Pull B from SP = SP + 1, B ⇐ Stk B INH 33 — 4 — — — — — — — —
Stack
PULX Pull X From SP = SP + 2, IX ⇐ INH 38 — 5 — — — — — — — —
Stack (Hi Stk
First)
PULY Pull Y from SP = SP + 2, IY ⇐ INH 18 38 — 6 — — — — — — — —
Stack (Hi Stk
First)
ROL (opr) Rotate Left EXT 79 hh ll 6 — — — — ∆ ∆ ∆ ∆
IND,X 69 ff 6
C b7 b0 IND,Y 18 69 ff 7
ROLA Rotate Left A A INH 49 — 2 — — — — ∆ ∆ ∆ ∆

C b7 b0
ROLB Rotate Left B B INH 59 — 2 — — — — ∆ ∆ ∆ ∆

C b7 b0
ROR (opr) Rotate Right EXT 76 hh ll 6 — — — — ∆ ∆ ∆ ∆
IND,X 66 ff 6
b7 b0 C IND,Y 18 66 ff 7
RORA Rotate Right A A INH 46 — 2 — — — — ∆ ∆ ∆ ∆

b7 b0 C
RORB Rotate Right B B INH 56 — 2 — — — — ∆ ∆ ∆ ∆

b7 b0 C
RTI Return from See Figure 3–2 INH 3B — 12 ∆ ↓ ∆ ∆ ∆ ∆ ∆ ∆
Interrupt
RTS Return from See Figure 3–2 INH 39 — 5 — — — — — — — —
Subroutine
SBA Subtract B A–B⇒A INH 10 — 2 — — — — ∆ ∆ ∆ ∆
from A

MOTOROLA CENTRAL PROCESSING UNIT MC68HC11D3


3-12 TECHNICAL DATA
Table 3-2 Instruction Set (Sheet 6 of 7)
Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
SBCA (opr) Subtract with A–M–C⇒A A IMM 82 ii 2 — — — — ∆ ∆ ∆ ∆
Carry from A A DIR 92 dd 3
A EXT B2 hh ll 4
A IND,X A2 ff 4
A IND,Y 18 A2 ff 5
SBCB (opr) Subtract with B–M–C⇒B B IMM C2 ii 2 — — — — ∆ ∆ ∆ ∆
Carry from B B DIR D2 dd 3
B EXT F2 hh ll 4
B IND,X E2 ff 4
B IND,Y 18 E2 ff 5
SEC Set Carry 1⇒C INH 0D — 2 — — — — — — — 1
SEI Set Interrupt 1⇒I INH 0F — 2 — — — 1 — — — —
Mask
SEV Set Overflow 1⇒V INH 0B — 2 — — — — — — 1 —
Flag
STAA (opr) Store A⇒M A DIR 97 dd 3 — — — — ∆ ∆ 0 —
Accumulator A EXT B7 hh ll 4
A A IND,X A7 ff 4
A IND,Y 18 A7 ff 5
STAB (opr) Store B⇒M B DIR D7 dd 3 — — — — ∆ ∆ 0 —
Accumulator B EXT F7 hh ll 4
B B IND,X E7 ff 4
B IND,Y 18 E7 ff 5
STD (opr) Store A ⇒ M, B ⇒ M + 1 DIR DD dd 4 — — — — ∆ ∆ 0 —
Accumulator EXT FD hh ll 5
D IND,X ED ff 5
IND,Y 18 ED ff 6
STOP Stop Internal — INH CF — 2 — — — — — — — —
Clocks
STS (opr) Store Stack SP ⇒ M : M + 1 DIR 9F dd 4 — — — — ∆ ∆ 0 —
Pointer EXT BF hh ll 5
IND,X AF ff 5
IND,Y 18 AF ff 6
STX (opr) Store Index IX ⇒ M : M + 1 DIR DF dd 4 — — — — ∆ ∆ 0 —
Register X EXT FF hh ll 5
IND,X EF ff 5
IND,Y CD EF ff 6
STY (opr) Store Index IY ⇒ M : M + 1 DIR 18 DF dd 5 — — — — ∆ ∆ 0 —
Register Y EXT 18 FF hh ll 6
IND,X 1A EF ff 6
IND,Y 18 EF ff 6
SUBA (opr) Subtract A–M⇒A A IMM 80 ii 2 — — — — ∆ ∆ ∆ ∆
Memory from A DIR 90 dd 3
A A EXT B0 hh ll 4
A IND,X A0 ff 4
A IND,Y 18 A0 ff 5
SUBB (opr) Subtract B–M⇒B A IMM C0 ii 2 — — — — ∆ ∆ ∆ ∆
Memory from A DIR D0 dd 3
B A EXT F0 hh ll 4
A IND,X E0 ff 4
A IND,Y 18 E0 ff 5
SUBD (opr) Subtract D–M:M+1⇒D IMM 83 jj kk 4 — — — — ∆ ∆ ∆ ∆
Memory from DIR 93 dd 5
D EXT B3 hh ll 6
IND,X A3 ff 6
IND,Y 18 A3 ff 7
SWI Software See Figure 3–2 INH 3F — 14 — — — 1 — — — —
Interrupt
TAB Transfer A to B A⇒B INH 16 — 2 — — — — ∆ ∆ 0 —
TAP Transfer A to A ⇒ CCR INH 06 — 2 ∆ ↓ ∆ ∆ ∆ ∆ ∆ ∆
CC Register
TBA Transfer B to A B⇒A INH 17 — 2 — — — — ∆ ∆ 0 —
TEST TEST (Only in Address Bus Counts INH 00 — * — — — — — — — —
Test Modes)
TPA Transfer CC CCR ⇒ A INH 07 — 2 — — — — — — — —
Register to A
TST (opr) Test for Zero M–0 EXT 7D hh ll 6 — — — — ∆ ∆ 0 0
or Minus IND,X 6D ff 6
IND,Y 18 6D ff 7
TSTA Test A for Zero A–0 A INH 4D — 2 — — — — ∆ ∆ 0 0
or Minus
TSTB Test B for Zero B–0 B INH 5D — 2 — — — — ∆ ∆ 0 0
or Minus

MC68HC11D3 CENTRAL PROCESSING UNIT MOTOROLA


TECHNICAL DATA 3-13
Table 3-2 Instruction Set (Sheet 7 of 7)
Mnemonic Operation Description Addressing Instruction Condition Codes
Mode Opcode Operand Cycles S X H I N Z V C
TSX Transfer Stack SP + 1 ⇒ IX INH 30 — 3 — — — — — — — —
Pointer to X
TSY Transfer Stack SP + 1 ⇒ IY INH 18 30 — 4 — — — — — — — —
Pointer to Y
TXS Transfer X to IX – 1 ⇒ SP INH 35 — 3 — — — — — — — —
Stack Pointer
TYS Transfer Y to IY – 1 ⇒ SP INH 18 35 — 4 — — — — — — — —
Stack Pointer
WAI Wait for Stack Regs & WAIT INH 3E — ** — — — — — — — —
Interrupt
XGDX Exchange D IX ⇒ D, D ⇒ IX INH 8F — 3 — — — — — — — —
with X
XGDY Exchange D IY ⇒ D, D ⇒ IY INH 18 8F — 4 — — — — — — — —
with Y

MOTOROLA CENTRAL PROCESSING UNIT MC68HC11D3


3-14 TECHNICAL DATA

You might also like