diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:28:47 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:28:47 -0800 |
| commit | f6c387128427e121477c1b32ad35cdcaa5101ba3 (patch) | |
| tree | 2aa25fa8c8c3a9caeecf98fd8ac4cd9b12717997 /docs/opcodes/opcode-0d-move-exception.html | |
| parent | f72d5de56a522ac3be03873bdde26f23a5eeeb3c (diff) | |
| download | android_dalvik-f6c387128427e121477c1b32ad35cdcaa5101ba3.tar.gz android_dalvik-f6c387128427e121477c1b32ad35cdcaa5101ba3.tar.bz2 android_dalvik-f6c387128427e121477c1b32ad35cdcaa5101ba3.zip | |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'docs/opcodes/opcode-0d-move-exception.html')
| -rw-r--r-- | docs/opcodes/opcode-0d-move-exception.html | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/docs/opcodes/opcode-0d-move-exception.html b/docs/opcodes/opcode-0d-move-exception.html new file mode 100644 index 000000000..3c3bc83d1 --- /dev/null +++ b/docs/opcodes/opcode-0d-move-exception.html @@ -0,0 +1,79 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + +<html> + +<head> +<title>move-exception</title> +<link rel=stylesheet href="opcode.css"> +</head> + +<body> + +<h1>move-exception</h1> + +<h2>Purpose</h2> + +<p> +Save a just-caught exception into the given register. This should be the first +instruction of any exception handler whose caught exception is not to be +ignored, and this instruction may only ever occur as the first instruction of an +exception handler; anywhere else is invalid. +</p> + +<h2>Details</h2> + +<table class="instruc"> +<thead> +<tr> + <th>Op & Format</th> + <th>Mnemonic / Syntax</th> + <th>Arguments</th> +</tr> +</thead> +<tbody> +<tr> + <td>0d 11x</td> + <td>move-exception vAA</td> + <td><code>A:</code> destination register (8 bits)</td> +</tr> +</tbody> +</table> + +<h2>Constraints</h2> + +<ul> + <li> + A must be a valid register index in the current stack frame. + </li> + <li> + The instruction must be the first instruction (in the code array) of an + instruction handler, that is, its offset in the code array must match one of + the handlers defined for the method in the Dex file. + </li> +</ul> + +<h2>Behavior</h2> + +<ul> + <li> + The active exception of the current thread is moved to register vA, that is, + vA' = exception. + </li> + <li> + If register v(A-1) is the lower half of a register pair, register v(A-1)' + becomes undefined. + </li> + <li> + If register v(A+1) is the upper half of a register pair, register v(A+1)' + becomes undefined. + </li> +</ul> + +<h2>Exceptions</h2> + +<p> +None. +</p> + +</body> +</html> |
