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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Store Halfword<br />

D-form<br />

Store Halfword Indexed<br />

X-form<br />

sth<br />

RS,D(RA)<br />

sthx<br />

RS,RA,RB<br />

44 RS RA D<br />

0 6 11 16 31<br />

if RA = 0 then b 0<br />

else<br />

b (RA)<br />

EA b + EXTS(D)<br />

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

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

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

addressed by EA.<br />

Special Registers Altered:<br />

None<br />

31 RS RA RB 407 /<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<br />

(RA|0)+ (RB). (RS) 48:63 are stored into the halfword in<br />

storage addressed by EA.<br />

Special Registers Altered:<br />

None<br />

Store Halfword with Update D-form Store Halfword with Update Indexed<br />

X-form<br />

sthu RS,D(RA)<br />

sthux RS,RA,RB<br />

45 RS RA D<br />

0 6 11 16 31 31 RS RA RB 439 /<br />

EA (RA) + EXTS(D)<br />

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

RA EA<br />

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

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

addressed by EA.<br />

EA is placed into register RA.<br />

If RA=0, the instruction form is invalid.<br />

Special Registers Altered:<br />

None<br />

0 6 11 16 21 31<br />

EA (RA) + (RB)<br />

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

RA EA<br />

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

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

addressed by EA.<br />

EA is placed into register RA.<br />

If RA=0, the instruction form is invalid.<br />

Special Registers Altered:<br />

None<br />

46<br />

<strong>Power</strong> ISA -- Book I

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

Saved successfully!

Ooh no, something went wrong!