MTE2=: - Store Mother trap enable 2¶
Overview¶
Mnemonic: mte2=
Function: Store Mother trap enable 2
Class: MOVE
Privilege: user/supervisor
Format: MTE2=: <operand>
Description¶
Stores the MTE2 (Mother Trap Enable 2) register to the specified operand. MTE2 contains parent process trap enable bits 16-31, controlling which traps are enabled for the parent process context.
Operation:
MTE2 → <operand>
Key Characteristics:
- Stores parent process trap enable bits 16-31
- Hierarchical trap control (parent vs child)
- Essential for process isolation
- Paired with MTE1 for full 32-bit trap mask
- Supervisor-level register
- Used in process context switching and spawning
Operands: 1 Variants: 1
Variants¶
| Variant | Opcode | Description |
|---|---|---|
| 1/1 | (varies) | Store Mother trap enable 2 |
Operands¶
Operand 1 (Destination)¶
Where to store Mother trap enable 2 value.
Trap Conditions¶
- Addressing traps: Invalid address
- Privilege violation: If supervisor-only
Data Status Bits¶
Unaffected.
Examples¶
Example 1: Store to local variable¶
MTE2=: B.SAVE_AREA
Example 2: Store to register¶
MTE2=: I1
Performance Notes¶
- Cycles: 3-4
Reference Manual¶
Section: §16.8 Title: Store special register