IBM PPC440X5 Uživatelský manuál Strana 260

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 590
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 259
addic.
Add Immediate Carrying and Record
PPC440x5 CPU Core User’s Manual Preliminary
Page 260 of 589
instrset.fm.
September 12, 2002
addic.
Add Immediate Carrying and Record
(RT) (RA) + EXTS(IM)
if (RA) + EXTS(IM) 2
32
– 1 then
XER[CA]
1
else
XER[CA]
0
The sum of the contents of register RA and the contents of the IM field, sign-extended to 32 bits, is placed
into register RT.
XER[CA] is set to a value determined by the unsigned magnitude of the result of the add operation.
Registers Altered
•RT
XER[CA]
CR[CR0]
Programming Note
addic. is one of three instructions that implicitly update CR[CR0] without having an RC field. The other
instructions are andi. and andis..
addic. RT, RA, IM
13 RT RA IM
0 6 11 16 31
Table 9-6. Extended Mnemonics for addic.
Mnemonic Operands Function
Other Registers
Altered
subic.
RT, RA, IM
Subtract EXTS(IM) from (RA).
Place result in RT; place carry-out in XER[CA].
Extended mnemonic for
addic. RT,RA,IM
CR[CR0]
>
u
Zobrazit stránku 259
1 2 ... 255 256 257 258 259 260 261 262 263 264 265 ... 589 590

Komentáře k této Příručce

Žádné komentáře