Skip to content

MTE1=: - Store Mother trap enable 1

Overview

Mnemonic: mte1= Function: Store Mother trap enable 1 Class: MOVE Privilege: user/supervisor

Format: MTE1=: <operand>


Description

Stores the MTE1 (Mother Trap Enable 1) register to the specified operand. MTE1 contains parent process trap enable bits 0-15, controlling which traps are enabled for the parent process context.

Operation:

MTE1 → <operand>

Key Characteristics:

  • Stores parent process trap enable bits 0-15
  • Hierarchical trap control (parent vs child)
  • Essential for process isolation
  • Paired with MTE2 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 1

Operands

Operand 1 (Destination)

Where to store Mother 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

        MTE1=: B.SAVE_AREA

Example 2: Store to register

        MTE1=: I1

Performance Notes

  • Cycles: 3-4

Reference Manual

Section: §16.8 Title: Store special register


See Also