Freescale Semiconductor SC140 specifications Illegal, Instruction Words Cycles1 Type Opcode

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 493
Image 493

ILLEGAL

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

SR[18]

EXP

Sets EXP to switch active stack pointer to exception stack pointer.

SR[23:21]

I[2:0]

Set interrupt priority level to 111.

EMR[0]

ILIN

Sets illegal instruction bit.

SR[0]

C

Cleared

SR[1]

T

Cleared

SR[5:4]

S[1:0]

Cleared

SR[31]

SLF

Cleared

SR[30:27]

LF[3:0]

Clear loop flags.

Example

illegal

Register/Memory Address

SR

EMR

Before

$18E0 0003

$0000 0000

After

$00E4 0000

$0000 0001

Instruction Formats and Opcodes

Instruction

Words Cycles1 Type Opcode

 

 

 

 

15

8

7

0

ILLEGAL

1

4

5

1 0 0 1 1 1 1 0

0 1 1 1 1 1 0 0

Note 1: Cycle count is dependant on the machine state. Typically, five cycles is the service time for an illegal request.

SC140 DSP Core Reference Manual

A-179

Page 493
Image 493
Freescale Semiconductor SC140 specifications Illegal, Instruction Words Cycles1 Type Opcode