MAC

Register/Memory Address

Before

After

D5

$00 3000 0000

L6:D6

 

$0:$00 4000 0000

EMR

 

0.001 $1000

x0.011$3000

0.0000110$0600 +0.1000000$4000 0.1000110$4600

$0:$00 4600 0000

$0000 0000

Example 2

mac #$1000,d5,d6

Register/Memory Address

SR

D5

L6:D6

EMR

Before

$00E0 0000

$00 3000 261F

$0:$00 4000 0000

After

$0:$00 4600 0000

$0000 0000

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

MAC #s16,Da,Dn

2

1

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

1

J

J

J

1

i

i

i

1

0

F

F

F

 

 

 

 

1

0

0

i

i

i

i

i

i

i

i

i

i

i

i

i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MAC

±Da,Db,Dn

1

1

1

MAC

±Da,Da,Dn

1

1

1

Note: ** indicates serial grouping encoding.

15

 

 

 

 

 

 

8

7

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0

*

1

0

0

0

F

F

F k 0

J

J

J

J J

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0

*

1

0

1

0

F

F

F 1 1

0

k

0

j j

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Fields

k

Accumulation Notation

0 add

1 subtract

A-234

SC140 DSP Core Reference Manual

Page 548
Image 548
Freescale Semiconductor SC140 specifications Mac #$1000,d5,d6, Register/Memory Address Before After