diff --git a/doc/dvm.asciidoc b/doc/dvm.asciidoc index 79227ae..02353de 100644 --- a/doc/dvm.asciidoc +++ b/doc/dvm.asciidoc @@ -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