14.06.2015 Views

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Version</strong> <strong>2.03</strong><br />

Store Byte by External Process ID<br />

Indexed<br />

X-form<br />

Store Halfword by External Process ID<br />

Indexed<br />

X-form<br />

stbepx<br />

RS,RA,RB<br />

sthepx<br />

RS,RA,RB<br />

31 RS RA RB 223 /<br />

0 6 11 16 21 31<br />

if RA = 0 then b 0<br />

else<br />

b (RA)<br />

EA b + (RB)<br />

MEM(EA,1) (RS) 56:63<br />

Let the effective address (EA) be the sum (RA|0)+(RB).<br />

(RS) 56:63 are stored into the byte in storage addressed<br />

by EA.<br />

For stbepx, the normal translation mechanism is not<br />

used. The contents of the EPSC register are used to<br />

provide the context in which translation occurs. The following<br />

substitutions are made for just the translation<br />

and access control process:<br />

EPSC EPR is used in place of MSR PR<br />

EPSC EAS is used in place of MSR DS<br />

EPSC EPID is used in place of all Process ID registers.<br />

This instruction is privileged.<br />

Special Registers Altered:<br />

None<br />

Programming Note<br />

This instruction behaves identically to a stbx<br />

instruction except for using the EPSC register to<br />

provide the translation context.<br />

31 RS RA RB 415 /<br />

0 6 11 16 21 31<br />

if RA = 0 then b 0<br />

else<br />

b (RA)<br />

EA b + (RB)<br />

MEM(EA,2) (RS) 48:63<br />

Let the effective address (EA) be the sum (RA|0)+(RB).<br />

(RS) 48:63 are stored into the halfword in storage<br />

addressed by EA.<br />

For sthepx, the normal translation mechanism is not<br />

used. The contents of the EPSC register are used to<br />

provide the context in which translation occurs. The following<br />

substitutions are made for just the translation<br />

and access control process:<br />

EPSC EPR is used in place of MSR PR<br />

EPSC EAS is used in place of MSR DS<br />

EPSC EPID is used in place of all Process ID registers.<br />

This instruction is privileged.<br />

Special Registers Altered:<br />

None<br />

Programming Note<br />

This instruction behaves identically to a sthx<br />

instruction except for using the EPSC register to<br />

provide the translation context.<br />

Chapter 3. Fixed-Point Processor<br />

509

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!