beautypg.com

2 instruction set summary, Instruction set summary -22, Table 3-8 lists user -mode instructions by opcode – Freescale Semiconductor MCF5480 User Manual

Page 126

background image

MCF548x Reference Manual, Rev. 3

3-22

Freescale Semiconductor

3.6.2

Instruction Set Summary

Table 3-8

lists user-mode instructions by opcode.

Save Internal Floating Point State

fsave

x

Yes

Floating-Point Square Root

fsqrt.{b,w,l,s,d}

y

FPx

Yes

Floating-Point Subtract

fsub.{b,w,l,s,d}

y

FPx

Yes

Test Floating-Point Operand

ftst.{b,w,l,s,d}

y

Yes

1

Operand sizes in this column reflect only newly supported operand sizes for existing instructions (Bcc, BRA,
BSR, CMP, CMPA, CMPI, and MOVE)

Table 3-8. User-Mode Instruction Set Summary

Instruction

Operand Syntax

Operand Size

Operation

ADD

ADDA

Dy,x
y,Dx
y,Ax

L
L
L

Source + Destination

→ Destination

ADDI

ADDQ

#,Dx

#,x

L
L

Immediate Data + Destination

→ Destination

ADDX

Dy,Dx

L

Source + Destination + CCR[X]

→ Destination

AND

y,Dx
Dy,x

L
L

Source

& Destination → Destination

ANDI

#, Dx

L

Immediate Data

& Destination → Destination

ASL

Dy,Dx

#,Dx

L
L

CCR[X,C]

← (Dx << Dy) ← 0

CCR[X,C]

← (Dx << #) ← 0

ASR

Dy,Dx

#,Dx

L
L

msb

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

msb

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

Bcc

B, W, L

If Condition True, Then PC + d

n

→ PC

BCHG

Dy,x

#,x

B, L
B, L

~ ( of Destination)

→ CCR[Z] →

of Destination

BCLR

Dy,x

#,x

B, L
B, L

~ ( of Destination)

→ CCR[Z];

0

of Destination

BRA

B, W, L

PC + d

n

→ PC

BSET

Dy,x

#,x

B, L
B, L

~ ( of Destination)

→ CCR[Z];

1

of Destination

BSR

B, W, L

SP – 4

→ SP; nextPC → (SP); PC + d

n

→ PC

BTST

Dy,x

#,x

B, L
B, L

~ ( of Destination)

→ CCR[Z]

CLR

x

B, W, L

0

→ Destination

Table 3-7. V4 New Instruction Summary (Continued)

Instruction

Mnemonic

1

Source

Destination

M68000

This manual is related to the following products: