beautypg.com

Freescale Semiconductor MCF5480 User Manual

Page 129

background image

Instruction Set Summary

MCF548x Reference Manual, Rev. 3

Freescale Semiconductor

3-25

FSUB

y,FPx

FPy,FPx

B,W,L,S,D

D

FPx - Source

→ FPx

FTST

y

B, W, L, S, D

Source Operand Tested

→ FPCC

ILLEGAL

none

none

SP – 4

→ SP; PC → (SP) → PC; SP – 2 → SP;

SR

→ (SP); SP – 2 → SP; Vector Offset → (SP);

(VBR + 0x10)

→ PC

JMP

y

none

Source Address

→ PC

JSR

y

none

SP – 4

→ SP; nextPC → (SP); Source → PC

LEA

y,Ax

L

y

→ Ax

LINK

Ay,#

W

SP – 4

→ SP; Ay → (SP); SP → Ay, SP + d

n

→ SP

LSL

Dy,Dx

#,Dx

L
L

CCR[X,C]

← (Dx << Dy) ← 0

CCR[X,C]

← (Dx << #) ← 0

LSR

Dy,Dx

#,Dx

L
L

0

→ (Dx >> Dy) → CCR[X,C]

0

→ (Dx >> #) → CCR[X,C]

MAC

Ry,RxSF,ACCx

Ry,RxSF,y,Rw,ACCx

W, L
W, L

ACCx + (Ry * Rx){<<|>>}SF

→ ACCx

ACCx + (Ry * Rx){<<|>>}SF

→ ACCx;

(y(&MASK))

→ Rw

MOV3Q

#,x

L

Immediate Data

→ Destination

MOVCLR

ACCy,Rx

L

Accumulator

→ Destination, 0 → Accumulator

MOVE

MOVE from

CCR

MOVE to CCR

y,x

MACcr,Dx

y,MACcr

CCR,Dx

y,CCR

B,W,L

L
L

W
W

Source

→ Destination

where MACcr can be any MAC control register:
ACCx, ACCext01, ACCext23, MACSR, MASK

MOVEA

y,Ax

W,L

→ L

Source

→ Destination

MOVEM

#list,x

y,#list

L

Listed Registers

→ Destination

Source

→ Listed Registers

MOVEQ

#,Dx

B

→ L

Immediate Data

→ Destination

MSAC

Ry,RxSF,ACCx

Ry,RxSF,y,Rw,ACCx

W, L
W, L

ACCx - (Ry * Rx){<<|>>}SF

→ ACCx

ACCx - (Ry * Rx){<<|>>}SF

→ ACCx;

(y(&MASK))

→ Rw

MULS/MULU

y,Dx

W * W

→ L

L * L

→ L

Source * Destination

→ Destination

(Signed or Unsigned)

MVS

y,Dx

B,W

Source with sign extension

→ Destination

MVZ

y,Dx

B,W

Source with zero fill

→ Destination

NEG

Dx

L

0 – Destination

→ Destination

NEGX

Dx

L

0 – Destination – CCR[X]

→ Destination

NOP

none

none

PC + 2

→ PC (Integer Pipeline Synchronized)

Table 3-8. User-Mode Instruction Set Summary (Continued)

Instruction

Operand Syntax

Operand Size

Operation

This manual is related to the following products: