summaryrefslogtreecommitdiffstats
path: root/docs/opcodes/opcode-d0-binop-lit16.html
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:14 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:14 -0800
commitf72d5de56a522ac3be03873bdde26f23a5eeeb3c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /docs/opcodes/opcode-d0-binop-lit16.html
parent31e30105703263782efd450d356cd67ea01af3b7 (diff)
downloadandroid_dalvik-f72d5de56a522ac3be03873bdde26f23a5eeeb3c.tar.gz
android_dalvik-f72d5de56a522ac3be03873bdde26f23a5eeeb3c.tar.bz2
android_dalvik-f72d5de56a522ac3be03873bdde26f23a5eeeb3c.zip
auto import from //depot/cupcake/@135843
Diffstat (limited to 'docs/opcodes/opcode-d0-binop-lit16.html')
-rw-r--r--docs/opcodes/opcode-d0-binop-lit16.html94
1 files changed, 0 insertions, 94 deletions
diff --git a/docs/opcodes/opcode-d0-binop-lit16.html b/docs/opcodes/opcode-d0-binop-lit16.html
deleted file mode 100644
index f9d3327b9..000000000
--- a/docs/opcodes/opcode-d0-binop-lit16.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html>
-
-<head>
-<title>binop/lit16</title>
-<link rel=stylesheet href="opcode.css">
-</head>
-
-<body>
-
-<h1>binop/lit16</h1>
-
-<h2>Purpose</h2>
-
-<p>
-Perform the indicated binary op on the indicated register (first argument) and
-literal value (second argument), storing the result in the destination register.
-</p>
-
-<h2>Details</h2>
-
-<table class="instruc">
-<thead>
-<tr>
- <th>Op &amp; Format</th>
- <th>Mnemonic / Syntax</th>
- <th>Arguments</th>
-</tr>
-</thead>
-<tbody>
-<tr>
- <td>d0..d7 22s</td>
- <td><i>binop</i>/lit16 vA, vB, #+CCCC<br/>
- d0: add-int/lit16<br/>
- d1: rsub-int (reverse subtract)<br/>
- d2: mul-int/lit16<br/>
- d3: div-int/lit16<br/>
- d4: rem-int/lit16<br/>
- d5: and-int/lit16<br/>
- d6: or-int/lit16<br/>
- d7: xor-int/lit16
- </td>
- <td><code>A:</code> destination register (4 bits)<br/>
- <code>B:</code> source register (4 bits)<br/>
- <code>C:</code> signed int constant (16 bits)</td>
-</tr>
-</tbody>
-</table>
-
-<h2>Constraints</h2>
-
-<ul>
- <li>
- Both A and B must be valid register indices in the current stackframe.
- </li>
- <li>
- Registers vA and vB must be defined. They must both contain integer values.
- </li>
- <li>
- C is an immediate, signed integer constant taken from the instruction stream
- (actually this means there are no special requirements for C at all).
- </li>
-</ul>
-
-<h2>Behavior</h2>
-
-<ul>
- <li>
- The given operation &lt;binop&gt; is performed according to the semantics
- specified in table XXX.
- </li>
- <li>
- Argument C is sign-extended to 32 bits before.
- </li>
- <li>
- The result is stored in register vA, that is, vA'=vB &lt;binop&gt; vC.
- </li>
- <li>
- As usual, neighboring registers might get undefined, if vA was part of a
- register pair originally.
- </li>
-</ul>
-
-<h2>Exceptions</h2>
-
-<ul>
- <li>
- ArithmeticException if an error occurs during the instruction.
- </li>
-</ul>
-
-</body>
-</html>