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 />

Load Halfword Algebraic with Update<br />

D8-form<br />

Load Halfword and Zero with Update<br />

D8-form<br />

e_lhau<br />

RT,D8(RA)<br />

e_lhzu<br />

RT,D8(RA)<br />

06 RT RA 03 D8<br />

0 6 11 16 24 31<br />

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

RT EXTS(MEM(EA, 2))<br />

RA EA<br />

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

The halfword in storage addressed by EA is loaded into<br />

RT 48:63 . RT 0:47 are filled with a copy of bit 0 of the<br />

loaded halfword.<br />

EA is placed into RA.<br />

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

Special Registers Altered:<br />

None<br />

06 RT RA 01 D8<br />

0 6 11 16 24 31<br />

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

RT 48 0 || MEM(EA, 2))<br />

RA EA<br />

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

The halfword in storage addressed by EA is loaded into<br />

RT 48:63 . RT 0:47 are set to 0.<br />

EA is placed into register RA.<br />

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

Special Registers Altered:<br />

None<br />

Load Word and Zero<br />

D-form<br />

Load Word and Zero Short FormSD4-form<br />

e_lwz<br />

RT,D(RA)<br />

se_lwz<br />

RZ,SD4(RX)<br />

20 RT 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 />

RT 32 0 || MEM(EA, 4)<br />

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

The word in storage addressed by EA is loaded into<br />

RT 32:63 . RT 0:31 are set to 0.<br />

Special Registers Altered:<br />

None<br />

12 SD4 RZ RX<br />

0 4 8 12 15<br />

EA (RX)+ ( 58 0 || SD4 || 2 0)<br />

RZ 32 0 || MEM(EA, 2)<br />

Let the effective address (EA) be the sum (RX) + (SD4<br />

|| 00). The word in storage addressed by EA is loaded<br />

into RZ 32:63 . RZ 0:31 are set to 0.<br />

Special Registers Altered:<br />

None<br />

Chapter 5. Fixed-Point Instructions<br />

665

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

Saved successfully!

Ooh no, something went wrong!