Update of semantics of Move Register operation.

This commit is contained in:
Jesse Brault 2024-12-28 16:42:43 -06:00
parent 7aa93c3986
commit cf0c44e627

View File

@ -91,7 +91,7 @@ The operand is converted to a `bool` at runtime by the virtual machine.
=== Move Register === Move Register
Copies the value in one register to another. Moves or copies (see below) the value in one register to another.
[source] [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 === Load
Loads the target register with the `DvmValue` inner value stored in the field at `field_index` in the object in the Loads the target register with the `DvmValue` inner value stored in the field at `field_index` in the object in the