Architecture

3.6 Special Instructions

There are three special instructions used for software traps. The instruction format is R-type for all three.

 

Table 3-11. Special instructions

 

 

 

 

(a)

SYSCALL

 

 

 

 

 

 

 

 

 

 

 

Instruction

Format and Description

 

 

 

 

 

 

op

 

code

funct

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

System Call

SYSCALL code

 

 

 

 

 

 

 

Raise a system call exception, passing control to an exception handler.

 

(b)

 

BREAK

 

 

 

 

 

 

 

 

 

 

 

Instruction

Format and Description

 

 

 

 

 

 

op

 

code

funct

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Breakpoint

BREAK code

 

 

 

 

 

 

 

Raise a breakpoint exception, passing control to an exception handler.

 

(c)

 

SDBBP

 

 

 

 

 

 

 

 

 

 

 

Instruction

Format and Description

 

 

 

 

 

 

op

 

code

funct

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Software

SDBBP code

 

 

 

 

 

 

Debug

Raise a debug exception, passing control to an exception processor.

Breakpoint

 

 

 

 

 

 

 

35

Page 44
Image 44
Toshiba TX39 user manual Special Instructions, Special instructions