Motorola HC12 Refrence Manual page 351

Table of Contents

Advertisement

Table A-1 Instruction Set Summary (Continued)
Source
Form
(SP) – 1 ⇒ SP; (A) ⇒ M
PSHA
Push Accumulator A onto Stack
(SP) – 1 ⇒ SP; (B) ⇒ M
PSHB
Push Accumulator B onto Stack
(SP) – 1 ⇒ SP; (CCR) ⇒ M
PSHC
Push CCR onto Stack
(SP) – 2 ⇒ SP; (A:B) ⇒ M
PSHD
Push D Accumulator onto Stack
(SP) – 2 ⇒ SP; (X
PSHX
Push Index Register X onto Stack
(SP) – 2 ⇒ SP; (Y
PSHY
Push Index Register Y onto Stack
) ⇒ A; (SP) + 1 ⇒ SP
PULA
(M
(SP)
Pull Accumulator A from Stack
) ⇒ B; (SP) + 1 ⇒ SP
PULB
(M
(SP)
Pull Accumulator B from Stack
) ⇒ CCR; (SP) + 1 ⇒ SP
PULC
(M
(SP)
Pull CCR from Stack
PULD
(M
:M
(SP)
(SP+1)
Pull D from Stack
PULX
(M
:M
(SP)
(SP+1)
Pull Index Register X from Stack
PULY
(M
:M
(SP)
(SP+1)
Pull Index Register Y from Stack
REV
MIN-MAX rule evaluation
Find smallest rule input (MIN).
Store to rule outputs unless fuzzy output is
already larger (MAX).
For rule weights see REVW.
Each rule input is an 8-bit offset from the
base address in Y. Each rule output is an 8-
bit offset from the base address in Y. $FE
separates rule inputs from rule outputs. $FF
terminates the rule list.
REV may be interrupted.
CPU12
REFERENCE MANUAL
Operation
(SP)
(SP)
(SP)
:M
(SP)
(SP+1)
) ⇒ M
:X
:M
H
L
(SP)
(SP+1)
) ⇒ M
:Y
:M
H
L
(SP)
(SP+1)
) ⇒ A:B; (SP) + 2 ⇒ SP
) ⇒ X
; (SP) + 2 ⇒ SP
:X
H
L
) ⇒ Y
; (SP) + 2 ⇒ SP
:Y
H
L
INSTRUCTION REFERENCE
Addr.
Machine
Mode
Coding (hex)
INH
36
INH
37
INH
39
INH
3B
INH
34
INH
35
INH
32
INH
33
INH
38
INH
3A
INH
30
INH
31
Special
18 3A
rule
byte
*
~
S X H I N Z V C
2
– – –
2
– – –
2
– – –
2
– – –
2
– – –
2
– – –
3
– – –
3
– – –
∆ ∆ ∆
∆ ∆
3
3
– – –
3
– – –
3
– – –
**
3
– – –
per
MOTOROLA
A-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents