Compaq ECQD2KCTE manual Load Sfloating, Lds

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 149
Image 149

4.8.3 Load S_floating

Format:

LDS

Fa.ws,disp.ab(Rb.ab)

!Memory format

Operation:

va {Rbv + SEXT(disp)}

CASE

big_endian_data: va’ va XOR 1002

little_endian_data: va’ va

ENDCASE

Fa (va’)<31> MAP_S((va’)<30:23>) (va’)<22:0> 0<28:0>

Exceptions:

Access Violation

Fault on Read

Alignment

Translation Not Valid

Instruction mnemonics:

LDS

Load S_floating (Load Longword Integer)

Qualifiers:

None

Description:

LDS fetches a longword (integer or S_floating) from memory and writes it to register Fa. If the data is not naturally aligned, an alignment exception is generated. The MAP_S function causes the 8-bit memory-format exponent to be expanded to an 11-bit register-format exponent according to Table 2–2.

The virtual address is computed by adding register Rb to the sign-extended 16-bit displace- ment. For a big-endian longword access, va<2> (bit 2 of the virtual address) is inverted, and any memory management fault is reported for va (not va). The source operand is fetched from memory, is zero-extended in the low-order longword, and then written to register Fa. Longword integers in floating registers are stored in bits <63:62,58:29>, with bits <61:59> ignored and zeros in bits <28:0>.

Instruction Descriptions 4–93

Page 149
Image 149
Compaq ECQD2KCTE manual Load Sfloating, Lds