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.

d2fDouble float to single floatSyntaxStack:d2/= 144 )tulue-wordl , value-word2 => ..., resultvalue must be a double-precision floating point number. It is converted to a single-precision floatingpoint number. If overflow occurs, the result must be infinity with the same sign as value. <strong>The</strong> resultreplaces value on the stack.3.11 Control Transfer InstructionsifeqBranch if equal to 0Syntax:'fey = 153brunchbrsetbronchb)re2int2byteint2charint2shortInteger to signed byteSyntax:Integer to shortSyntax:I inab)se 145 1Stack: ..., value => ..., resultvalue must be an integer. It is truncated to a signed 8-bit result, then sign extended to an integer. <strong>The</strong>result replaces value on the stack.Integer to charSyntaxStack: ..., value =>I int2chur = 146 I, resultvalue most be an integer. It is truncated to an unsigned 16-bit result, then zero extended to an integer.<strong>The</strong> result replaces valise on the stack.Slack:fins2shors = 147 Ivalue => ..., resultvalue must be an integer. It is truncated to a signed 16-bit result, then sign extended to an integer. <strong>The</strong>result replaces value on the stack.ifnullifltStack: ..., value =>value must be an integer. It is popped from the stack. If value is zero, branclibytel and brattchlsyle2 areused to construct a signed 16-bit offset. Execution proceeds at that offset from the address of thisinstruction. Otherwise execution proceeds at the instruction following the i f eq.Branch if nullSyntax:Stack: .. , valise =>Branch if less than 0Syntax:Own = 198branchksehronchbyte2value must be a reference to an object. It is popped from the stack. If valise is nu 1 1, branclthyte I andbranclthyle2 are used to construct a signed 16.bit offset. Execution proceeds at that offset from theaddress of this instruction. Otherwise execution proceeds at the instruction following the i f nullStack: ..., value =>lJlr = 155bronchhyte Ibranclthyse2value must be an integer. It is popped from the stack. if value is less than zero, branchbytel andbranchlsyte2 are used to construct a signed 16-bit offset. Execution proceeds at that offset from theaddress of this instruction. Otherwise execution proceeds at the instruction following the i f 1 t..August 22. 1995Java Virtual Machine Specification55 56 lava Virtual Machine Smirscation August 22 I994

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

Saved successfully!

Ooh no, something went wrong!