beautypg.com

Example 2, Instruction formats and opcodes, Instruction fields – Freescale Semiconductor StarCore SC140 User Manual

Page 495: Imac -d4,d5,d6

background image

IMAC

SC140 DSP Core Reference Manual

A-181

–5

$FFFB

x 3

$0003

–15

$000F

+8

$0008

–7

$FFF9

Example 2

imac -d4,d5,d6

–42

$002A

x 11

$000B

–462

$FE32

+4096

$1000

3,634

$0E32

Instruction Formats and Opcodes

Note:

** indicates serial grouping encoding.

Instruction Fields

k

Accumulation Notation

Register/Memory Address

Before

After

D4

$00 1022 002A

D5

$FF FF3A 000B

L6:D6

$0:$00 0000 1000

$0:$00 0000 0E32

EMR

$0000 0000

$0000 0000

Instruction

Words Cycles Type

Opcode

15

8

7

0

IMAC

±Da,Db,Dn

1

1

1

0

*

1

0

1

0

F

F

F

k

0

J

J

J

J

J

15

8

7

0

IMAC

±Da,Da,Dn

1

1

1

0

*

1

0

1

0

F

F

F

1

1

0

k

1

j

j

0

add

1

subtract