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

3.3.14.1 Move To/From System Registers [Category: Embedded]<br />

Move to Condition Register from XER Move From APID Indirect X-form<br />

CR field BF XER 32:35 None<br />

X-form<br />

mfapidi RT,RA<br />

mcrxr BF<br />

31 RT RA /// 275 /<br />

31 BF // /// /// 512 / 0 6 11 16 21 31<br />

0 6 9 11 16 21 31<br />

RT ← implementation-dependent value based on (RA)<br />

CR 4×BF+32:4×BF+35 XER 32:35<br />

The contents of RA are provided to any auxiliary processing<br />

extensions that may be present. A value, that<br />

XER 32:35 0b0000<br />

The contents of XER 32:35 are copied to Condition Register<br />

field BF. XER 32:35 are set to zero.<br />

Special Registers Altered:<br />

is implementation-dependent and extension-dependent,<br />

is placed in RT.<br />

Special Registers Altered:<br />

Programming Note<br />

This instruction is provided as a mechanism for<br />

software to query the presence and configuration of<br />

one or more auxiliary processing extensions. See<br />

the implementation for details on the behavior of<br />

this instruction.<br />

Move To Device Control Register<br />

User-mode Indexed<br />

X-form<br />

Move From Device Control Register<br />

User-mode Indexed<br />

X-form<br />

mtdcrux<br />

RS,RA<br />

mfdcrux<br />

RT,RA<br />

31 RS RA /// 419 /<br />

0 6 11 16 21 31<br />

31 RT RA /// 291 /<br />

0 6 11 16 21 31<br />

DCRN ← (RA)<br />

DCR(DCRN) ← RS<br />

Let the contents of register RA denote a Device Control<br />

Register. (The supported Device Control Registers are<br />

implementation-dependent.)<br />

The contents of RS are placed into the designated<br />

Device Control Register. For 32-bit Device Control<br />

Registers, the contents of bits 32:63 of RS are placed<br />

into the Device Control Register.<br />

See “Move To Device Control Register Indexed X-form”<br />

on page 504 in Book III for more information on this<br />

instruction.<br />

Special Registers Altered:<br />

Implementation-dependent<br />

DCRN ← (RA)<br />

RT ← DCR(DCRN)<br />

Let the contents of register RA denote a Device Control<br />

Register. (The supported Device Control Registers are<br />

implementation-dependent.)<br />

The contents of the designated Device Control Register<br />

are placed into RT. For 32-bit Device Control Registers,<br />

the contents of bits 32:63 of the designated Device<br />

Control Register are placed into RT.<br />

See “Move From Device Control Register Indexed<br />

X-form” on page 505 in Book III for more information on<br />

this instruction.<br />

Special Registers Altered:<br />

Implementation-dependent<br />

Chapter 3. Fixed-Point Processor<br />

87

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

Saved successfully!

Ooh no, something went wrong!