summaryrefslogtreecommitdiffhomepage
path: root/doc/opcode.md
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-11-20 14:55:09 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-11-20 14:55:09 +0900
commit28f00b23bf55ea46512e6a6be6dce164f8bc8575 (patch)
tree378a674ddd164f524bb56832e4f377c6284f3f37 /doc/opcode.md
parenta04d2a8865abbbb0e8439f36c1255cb6998af2d2 (diff)
downloadmruby-28f00b23bf55ea46512e6a6be6dce164f8bc8575.tar.gz
mruby-28f00b23bf55ea46512e6a6be6dce164f8bc8575.zip
doc/opcode.md: update according to #5579
Diffstat (limited to 'doc/opcode.md')
-rw-r--r--doc/opcode.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/opcode.md b/doc/opcode.md
index 113e390e8..11f2133c6 100644
--- a/doc/opcode.md
+++ b/doc/opcode.md
@@ -97,7 +97,7 @@ sign) of operands.
| `OP_ARYPUSH` | `BB` | `ary_push(R(a),R(a+1)..R(a+b))` |
| `OP_ARYDUP` | `B` | `R(a) = ary_dup(R(a))` |
| `OP_AREF` | `BBB` | `R(a) = R(b)[c]` |
-| `OP_ASET` | `BBB` | `R(a)[c] = R(b)` |
+| `OP_ASET` | `BBB` | `R(b)[c] = R(a)` |
| `OP_APOST` | `BBB` | `*R(a),R(a+1)..R(a+c) = R(a)[b..]` |
| `OP_INTERN` | `B` | `R(a) = intern(R(a))` |
| `OP_STRING` | `BB` | `R(a) = str_dup(Pool(b))` |