|
MC68711E20CFNE3 Datasheet, PDF (78/242 Pages) – | |||
|
◁ |
Central Processor Unit (CPU)
Table 4-2. Instruction Set (Sheet 7 of 7)
Mnemonic
Operation
Description
Addressing
Mode
Instruction
Condition Codes
Opcode Operand Cycles S X H I N Z V C
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
M68HC11E Family Data Sheet, Rev. 5.1
78
Freescale Semiconductor
|
▷ |