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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

laddLong integer addfSubSingle float subtractSyntax./add = 97Syntax:hub = 102IStack , (Awl-word?, value? Avord2, value2-tvord1, value2-tvord2 => result-word I, result-tvord2Stack: ..., value?, value2 =>resultvalue? and value2 must be long integers. <strong>The</strong> values are added and are replaced on the stack by theirlong integer sum.value? and value2 must be single-precision floating point numbers. value? is subtracted from value!.and both values are replaced on the stack by their single-precision floating point differencefaddSingle floats adddsubDouble float subtractSyntax:r Judd = 98jSyntax:I daub = 103 IStack -, value?, mina => ..., resultStack: ..., value]-wordl, value? -word2, value2-word 1 value•oord2result•word I , result•word2value? and value? must be single-precision floating point numbers. <strong>The</strong> values are added and arereplaced on the stack by their single-precision floating point sum.valuel and value2 must be double-precision floatiny, point numbers. value2 is subtracted from valor 1.and both values are replaced on the stack by their double-precision floating point difference.daddDouble floats addi ulInteger multiplySyntax:Budd = 99-1Syntax:I thud = 104 1Stack: .., valuel-tvordl, value? -tvord2, value2-tvordl, value2-tvord2 =>result-tvordl, result-word?Stack: ..., value?, value?resultvalue? and value2 must be double-precision floating point numbers. <strong>The</strong> values arc added and arereplaced on the stack by their double-precision floating point sum.valuel and value2 most be integers. Both values are replaced on the stack by their integer productisubInteger subtractSyntax:is rub = 100Stack , value?, value? => resultvalue? and value2 must be integers. value? is subtracted from value', and both values are replaced onthe stack by their integer differenceImulLong integer multiplySyntax:inuul = 105 1Stack:.,., valuel-tvordl, value] -word?, value?. word?, value2-word2 =>resull-word 1 , resuff•word2value? and value? must be long integers 'loth values arc replaced on the stack by their long integerproduct.]subLong integer subtractSyntax:hub = 101JStack: , value]-tvordl, ualue1-tvord2, value2-word 1, value2-tvord2 => result-rvordl, result-word?vAltte I and value? must be long integers. value2 is subtracted from wind, and both values are replacedon the stack by their long integer difference.fmulSingle float multiplySyntax:fond = 106Stack: ..., value?, value2 => ..., resultvaluel and value2 must be single-precision floating point numbers. Both values are replaced on thestack by their single-precision floating point product.August 22, 1995 lava Virtual Machine Specification 45 46 lava Virtual Machine Specification August 22. 1995

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

Saved successfully!

Ooh no, something went wrong!