beautypg.com

Debugcc enter debug mode debugcc conditionally – Motorola DSP96002 User Manual

Page 259

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 71

DEBUGcc

Enter Debug Mode

DEBUGcc

Conditionally

0c

cccc

1111

1111

31

14 13

0

0000

0000

0000

0000

01

Operation:

If cc, then enter debug mode.

Assembler Syntax:

DEBUGcc

Description:

If the specified condition is true, enter Debug mode and wait for OnCE

commands. If the specified con-

dition is false, continue with the next instruction.

"cc" may specify the following conditions:

Mnemonic

Condition

CC (HS) - carry clear (higher or same)

C = 0

CS (LO) - carry set (lower)

C = 1

EQ

- equal

Z = 1

GE

- greater or equal

N && V = 0

GT

- greater than

Z v (N && V) = 0

HI

- higher

Z v C = 0

LE

- less or equal

Z v (N && V) = 1

LS

- lower or same

Z v C = 1

LT

- less than

N && V = 1

MI

- minus

N = 1

NE(Q)

- not equal

Z = 0

PL

- plus

N = 0

VC

- overflow clear

V = 0

VS

- overflow set

V = 1

AL

- always true

n.a.

CCR Condition Codes: Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.

Instruction Format: DEBUGcc

OnCE

is a trademark of Motorola Inc.