diff --git a/document/core/exec/instructions.rst b/document/core/exec/instructions.rst index a8add5fe3..b0fdac8f1 100644 --- a/document/core/exec/instructions.rst +++ b/document/core/exec/instructions.rst @@ -394,12 +394,12 @@ Reference Instructions \end{array} -.. _exec-i31.get_s: +.. _exec-i31.get_sx: :math:`\I31GET\K{\_}\sx` ........................ -1. Assert: due to :ref:`validation `, a :ref:`value ` of :ref:`type ` :math:`(\REF~\NULL~\I31)` is on the top of the stack. +1. Assert: due to :ref:`validation `, a :ref:`value ` of :ref:`type ` :math:`(\REF~\NULL~\I31)` is on the top of the stack. 2. Pop the value :math:`\reff` from the stack. @@ -407,7 +407,7 @@ Reference Instructions a. Trap. -4. Assert: due to validation, a :math:`\reff` is a :ref:`scalar reference `. +4. Assert: due to :ref:`validation `, a :math:`\reff` is a :ref:`scalar reference `. 5. Let :math:`(\REFI31~i)` be the reference value :math:`\reff`. @@ -439,7 +439,7 @@ Reference Instructions 5. Let :math:`n` be the length of the :ref:`field type ` sequence :math:`\X{ft}^\ast`. -6. Assert: due to :ref:`validation `, :math:`n` :ref:`values ` are on the top of the stack. +6. Assert: due to :ref:`validation `, :math:`n` :ref:`values ` are on the top of the stack. 7. Pop the :math:`n` values :math:`\val^\ast` from the stack. @@ -544,7 +544,7 @@ Reference Instructions a. Trap. -9. Assert: due to validation, a :math:`\reff` is a :ref:`structure reference `. +9. Assert: due to :ref:`validation `, a :math:`\reff` is a :ref:`structure reference `. 10. Let :math:`(\REFSTRUCTADDR~a)` be the reference value :math:`\reff`. @@ -597,7 +597,7 @@ Reference Instructions a. Trap. -11. Assert: due to validation, a :math:`\reff` is a :ref:`structure reference `. +11. Assert: due to :ref:`validation `, a :math:`\reff` is a :ref:`structure reference `. 12. Let :math:`(\REFSTRUCTADDR~a)` be the reference value :math:`\reff`. @@ -910,7 +910,7 @@ Reference Instructions a. Trap. -10. Assert: due to validation, a :math:`\reff` is an :ref:`array reference `. +10. Assert: due to :ref:`validation `, a :math:`\reff` is an :ref:`array reference `. 11. Let :math:`(\REFARRAYADDR~a)` be the reference value :math:`\reff`. @@ -959,7 +959,7 @@ Reference Instructions 6. Pop the value :math:`\val` from the stack. -7. Assert: due to :ref:`validation `, a :ref:`value ` of :ref:`type ` :math:`\I32` is on the top of the stack. +7. Assert: due to :ref:`validation `, a :ref:`value ` of :ref:`type ` :math:`\I32` is on the top of the stack. 8. Pop the value :math:`(\I32.\CONST~i)` from the stack. @@ -971,7 +971,7 @@ Reference Instructions a. Trap. -12. Assert: due to validation, a :math:`\reff` is an :ref:`array reference `. +12. Assert: due to :ref:`validation `, a :math:`\reff` is an :ref:`array reference `. 13. Let :math:`(\REFARRAYADDR~a)` be the reference value :math:`\reff`. @@ -1010,7 +1010,7 @@ Reference Instructions a. Trap. -4. Assert: due to validation, a :math:`\reff` is an :ref:`array reference `. +4. Assert: due to :ref:`validation `, a :math:`\reff` is an :ref:`array reference `. 5. Let :math:`(\REFARRAYADDR~a)` be the reference value :math:`\reff`.