|
MC68HC711D3_05 Datasheet, PDF (46/138 Pages) Freescale Semiconductor, Inc – Microcontrollers | |||
|
◁ |
Central Processor Unit (CPU)
Table 3-2. Instruction Set (Sheet 8 of 8)
Mnemonic
Operation
Description
Addressing
Mode
Instruction
Condition Codes
Opcode Operand Cycles S X H I N Z V C
TBA
Transfer B to A
BâA
INH
17
â
2
ââââ â â 0 â
TEST
TEST (Only in Address Bus Counts
INH
Test Modes)
00
â
*
ââââââââ
TPA
Transfer CC
CCR â A
INH
07
â
2
ââââââââ
Register to A
TST (opr) Test for Zero or
Minus
Mâ0
EXT
IND,X
IND,Y 18
7D hh ll
6D ff
6D ff
6
ââââ â â 0 0
6
7
TSTA
Test A for Zero
or Minus
Aâ0
A
INH
4D
â
2
ââââ â â 0 0
TSTB
Test B for Zero
or Minus
Bâ0
B
INH
5D
â
2
ââââ â â 0 0
TSX
Transfer Stack
SP + 1 â IX
INH
Pointer to X
30
â
3
ââââââââ
TSY
Transfer Stack
SP + 1 â IY
Pointer to Y
INH
18
30
â
4
ââââââââ
TXS
Transfer X to
IX â 1 â SP
INH
Stack Pointer
35
â
3
ââââââââ
TYS
Transfer Y to
IY â 1 â SP
Stack Pointer
INH
18
35
â
4
ââââââââ
WAI
Wait for
Stack Regs & WAIT
INH
Interrupt
3E
â
**
ââââââââ
XGDX
Exchange D
IX â D, D â IX
INH
with X
8F
â
3
ââââââââ
XGDY
Exchange D
with Y
IY â D, D â IY
INH
18
8F
â
4
ââââââââ
Cycle
*
**
Infinity or until reset occurs
12 cycles are used beginning with the opcode fetch. A wait state is entered which remains in effect for an integer number of MPU E-clock
cycles (n) until an interrupt is recognized. Finally, two additional cycles are used to fetch the appropriate interrupt vector (14 + n total).
Operands
dd = 8-bit direct address ($0000â$00FF) (high byte assumed to be $00)
ff = 8-bit positive offset $00 (0) to $FF (255) (is added to index)
hh = High-order byte of 16-bit extended address
ii = One byte of immediate data
jj = High-order byte of 16-bit immediate data
kk = Low-order byte of 16-bit immediate data
ll = Low-order byte of 16-bit extended address
mm = 8-bit mask (set bits to be affected)
rr = Signed relative offset $80 (â128) to $7F (+127)
(offset relative to address following machine code offset byte)
Operators
( ) Contents of register shown inside parentheses
â Is transferred to
â Is pulled from stack
â Is pushed onto stack
⢠Boolean AND
+ Arithmetic addition symbol except where used as inclusive-OR symbol
in Boolean formula
â Exclusive-OR
â Multiply
: Concatenation
â Arithmetic subtraction symbol or negation symbol (twoâs complement)
Condition Codes
â Bit not changed
0 Bit always cleared
1 Bit always set
â Bit cleared or set, depending on operation
â Bit can be cleared, cannot become set
MC68HC711D3 Data Sheet, Rev. 2.1
46
Freescale Semiconductor
|
▷ |