13.07.2015 Views

The PowerPC 604 RISC Microprocessor - eisber.net

The PowerPC 604 RISC Microprocessor - eisber.net

The PowerPC 604 RISC Microprocessor - eisber.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

lushrlong integer logical shift rightixorInteger boolean XORSyritox.= 125 ISyntax:ixor = 130Stack , value I. word!, value! -ivord2, valuenoordl, value2-ivord2 => result-word!, result •riAnd2Slack:value), valise? => ..., resultvalue! must be a long integer and value2 must be an integer. value! is shifted right logically (with nosign extension) by the amount indicated by the low six bits of value2. <strong>The</strong> long integer result replacesboth values on the stack.value! and value2 must both be integers. <strong>The</strong>y are replaced on the stack by their bitwise exclusive or(exclusive disjunction).landInteger boolean ANDSyntax:iund = 126Stack: ..., valuel, mind => ..., resultvalue! and Emilia must both be integers. <strong>The</strong>y are replaced on the stack by their bitwise logical and(conjunction).IxorLong integer boolean XORSyntax:Ixor = 131Stack: . value!-word!, value! quota, value2-ward! , value2-word2 => ..., result-word I, result-word 2value! and value2 must both be long integers. <strong>The</strong>y are replaced on the stack by their bitwise exclusiveor (exclusive disjunction).landLong integer boolean ANDSyntax:[ hind = 127Stack: .., value!-word!, valuel.word2, valuefloordl, tialue2-ivbrd2 =>result-word 1, result-roord2value! and value? must both be long integers. <strong>The</strong>y are replaced on the stack by their bitwise logicaland (conjunction).3.10 Conversion Operationsi2IInteger to long integer conversionSyntax:ill = 133Stack: ..., value => ..., result•wordl, result-uvrd2forvalise must be an integer. It is converted to a long integer. <strong>The</strong> result replaces value on the stackInteger boolean ORSyntax:for = 128i2fInteger to single floatStack: .., value!, value2 =>, resultvaluel and value2 must both be integers. <strong>The</strong>y are replaced on the stack by their bitwise logical or(disjunction).Syntax:Stack!i2J = 134, value => ..., resultforvalue must be an integer. It is converted to a single-precision floating point number. <strong>The</strong> result replacesvalue on the stack.Long integer boolean ORSyntax:for = 129i2dInteger to double floatStack: .., value!-word!, value! -word2, vatue2-word1, value2-word2 =>result-word], result-usord2value! and value2 must both be long integers. <strong>The</strong>y are replaced on the stack by their bitwise logical or(disjunction).Syntax:i2d = 135Stack: . value => ..., result •roordl, result - itiord2valise roust be an integer. It is converted to a double-precision floating point number. <strong>The</strong> resultreplaces utilise on the stack.August 22.1995lava SpethicAtion Si52A vntnxt MArhine SproficationAup,,,st 52 19v,

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

Saved successfully!

Ooh no, something went wrong!