Skip to content

E4:= - Load Least Significant Part of Double Float Register E4 (D4)

Overview

Mnemonic: e4:= Function: Load least significant part of double float register D4 (E4) Class: MOVE Privilege: user

Format: E4:= <operand>


Description

Loads the least significant 32 bits of the double float register D4 (referred to as E4) from the specified operand. This instruction is used for integer/float register communication, allowing data transfer between integer and float registers without performing any type conversion.

Operation:

E4 = <operand>  (least significant 32 bits of D4)

Key Characteristics:

  • Integer/float register communication (no type conversion)
  • Loads LSW (least significant word) of D4
  • Essential for constructing 64-bit double float values
  • Paired with A4:= to build complete D4 register
  • Can transfer integer to float register directly
  • 2-4 cycles (fastest with register source)
  • Sets Z and S flags based on loaded value
  • Used for double-precision bit manipulation
  • No type conversion (bitwise transfer only)

When a register is specified as an operand, the general integer registers (I1-I4) are used. Thus, this instruction can transfer data between integer and float registers directly.

The double float registers D1-D4 are 64-bit registers, composed of a most significant part (A1-A4) and least significant part (E1-E4). This instruction loads only the least significant 32 bits.

Operands: 1 Variants: 1 opcode(s)


Variants

Total variants: 1

Variant Opcode Prefix Register Addressing Modes
1/1 0xFE37 - 4 LOCAL, RECORD, CONSTANT, REGISTER, PRE_INDEXED, ABSOLUTE

Operands

Operand 1 (Source)

The source operand containing the 32-bit word to load into the least significant part of D4 (E4).

Type: Word (32-bit) Access: Read

Supported modes:

  • LOCAL - Local data area access (B.variable)
  • RECORD - Record-relative access (R.field)
  • CONSTANT - Immediate constant value
  • REGISTER - Integer register (I1-I4)
  • PRE_INDEXED - Indexed addressing with offset
  • ABSOLUTE - Absolute memory address

Trap Conditions

  • Addressing traps: Invalid address, descriptor range violation, page fault, protection violation

Data Status Bits

  • Z (Zero): Set if source operand = 0, cleared otherwise
  • S (Sign): Set to sign bit of source operand (bit 31)
  • O (Overflow): Unaffected
  • K (Flag): Unaffected
  • C (Carry): Unaffected

Examples

Example 1: Load from local variable

        % Load E4 from local word
        E4:= B.FRACTION

Example 2: Load from integer register

        % Transfer I3 to E4 without conversion
        E4:= I3

Example 3: Construct double float

        % Build D4 from two 32-bit words
        A4:= B.SIGN_EXP       % Most significant part
        E4:= B.FRAC_LOW       % Least significant part

Example 4: Load constant

        % Load E4 with immediate value
        E4:= 0FEDCBA98H       % Specific bit pattern

Performance Notes

  • Typical cycles: 2-4 cycles depending on addressing mode
  • Best case: 2 cycles (register to register)
  • Worst case: 4+ cycles (memory access with page fault)

Reference Manual

Section: §16.9 Title: Integer float register communication


See Also