Special Instructions; Special Instructions (Extended Isa) (1/2) - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

2.2.2.4 Special instructions

Special instructions generate software exceptions. Their formats are R-type (Syscall, Break). The Trap instruction
is available only for the V
4000 Series. All the other instructions are available for all V
R
Instruction
Synchronize
SYNC
Completes the load/store instruction executing in the current pipeline before the next load/store
instruction starts execution.
System Call
SYSCALL
Generates a system call exception, and then transits control to the exception handling program.
Breakpoint
BREAK
Generates a break point exception, and then transits control to the exception handling program.
Instruction
Trap If Greater Than Or
TGE rs, rt
Equal
The contents of register rs are compared with that of register rt, treating both operands as signed
integers. If the contents of register rs are greater than or equal to that of register rt, an exception
occurs.
Trap If Greater Than Or
TGEU rs, rt
Equal Unsigned
The contents of register rs are compared with that of register rt, treating both operands as unsigned
integers. If the contents of register rs are greater than or equal to that of register rt, an exception
occurs.
Trap If Less Than
TLT rs, rt
The contents of register rs are compared with that of register rt, treating both operands as signed
integers. If the contents of register rs are less than that of register rt, an exception occurs.
Trap If Less Than
TLTU rs, rt
Unsigned
The contents of register rs are compared with that of register rt, treating both operands as unsigned
integers. If the contents of register rs are less than that of register rt, an exception occurs.
Trap If Equal
TEQ rs, rt
If the contents of registers rs and rt are equal, an exception occurs.
Trap If Not Equal
TNE rs, rt
If the contents of registers rs and rt are not equal, an exception occurs.
CHAPTER 2 V
Table 2-19. Special Instructions
Format and Description
Table 2-20. Special Instructions (Extended ISA) (1/2)
Format and Description
Preliminary User's Manual S15543EJ1V0UM
4120A
R
Series.
R
rt
SPECIAL
rs
rs
rt
SPECIAL
rd
sa
funct
rd
sa
funct
81

Advertisement

Table of Contents
loading

Table of Contents