sthep

Store Halfword External Process ID Indexed

sthepx RS, RA, RB

Stores a halfword using the External PID.

Details

Stores a halfword (16-bit value) to memory using an address formed by adding RA and RB, performing the store using the External PID for address translation in embedded environments. The least significant halfword of RS is written to memory. No condition flags are affected.

Pseudocode Operation

EA ← (RA) + (RB)
[EA + 0:1] ← (RS)[48:63]

Example

sthepx r3, r4, r5

Encoding

Binary Layout
31
0
RS
6
RA
11
RB
16
223
21
/
31
 
Format X-form
Opcode 0x7C0001BE
Extension Embedded

Operands

  • RS
    Source
  • RA
    Base
  • RB
    Index