Update of semantics of Move Register operation.
This commit is contained in:
parent
7aa93c3986
commit
cf0c44e627
@ -91,7 +91,7 @@ The operand is converted to a `bool` at runtime by the virtual machine.
|
||||
|
||||
=== Move Register
|
||||
|
||||
Copies the value in one register to another.
|
||||
Moves or copies (see below) the value in one register to another.
|
||||
|
||||
[source]
|
||||
----
|
||||
@ -101,6 +101,9 @@ mov_register(
|
||||
)
|
||||
----
|
||||
|
||||
For `Byte`, `Int`, `Long`, `USize`, `Double`, and `Boolean`, the value is **copied** to the register. For `Object`
|
||||
values, the value is **moved**, meaning that register takes ownership of the referenced object.
|
||||
|
||||
=== Load
|
||||
|
||||
Loads the target register with the `DvmValue` inner value stored in the field at `field_index` in the object in the
|
||||
|
Loading…
Reference in New Issue
Block a user