Skip to content

OTE1=: - Store Own trap enable 1

Overview

Mnemonic: ote1= Function: Store Own trap enable 1 Class: MOVE Privilege: user/supervisor

Format: OTE1=: <operand>


Description

Stores the OTE1 (Own Trap Enable 1) register to the specified operand. OTE1 contains trap enable bits 0-15, controlling which trap conditions are enabled for the current process.

Operation:

OTE1 → <operand>

Key Characteristics:

  • Stores trap enable bits 0-15
  • Controls process-specific trap behavior
  • Essential for context switching
  • Paired with OTE2 for full 32-bit trap mask
  • Supervisor or user privilege depending on mode
  • Used in exception handler state management

Operands: 1 Variants: 1


Variants

Variant Opcode Description
1/1 (varies) Store Own trap enable 1

Operands

Operand 1 (Destination)

Where to store Own trap enable 1 value.


Trap Conditions

  • Addressing traps: Invalid address
  • Privilege violation: If supervisor-only

Data Status Bits

Unaffected.


Examples

Example 1: Store to local variable

        OTE1=: B.SAVE_AREA

Example 2: Store to register

        OTE1=: I1

Performance Notes

  • Cycles: 3-4

Reference Manual

Section: §16.8 Title: Store special register


See Also