move-result-wide

Purpose

Move the double-word result of the most recent invoke-kind into the indicated register pair. This must be done as the instruction immediately after an invoke-kind whose (double-word) result is not to be ignored; anywhere else is invalid.

Details

Op & Format Mnemonic / Syntax Arguments
0b 11x move-result-wide vAA A: destination register pair (8 bits)

Constraints

Behavior

Exceptions

None.

Notes

This instruction can also be thought of as reading the contents of a special "result" register that is made valid and defined by executing a non-void return instruction or a filled-new-array instruction. The execution of any other instruction (including this one) renders this special register invalid.