summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-05-07 18:40:23 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-05-07 18:41:43 +0900
commit3491372a1d9e4fde2551442cf0aeb1ffae888547 (patch)
tree3e18103967d0c03d2a8b0e93162c3cef6d89e717 /doc
parent03b0741994256b57e534c007ed88d47ab1d83a53 (diff)
downloadmruby-3491372a1d9e4fde2551442cf0aeb1ffae888547.tar.gz
mruby-3491372a1d9e4fde2551442cf0aeb1ffae888547.zip
Update `doc/opcode.md` for operand signs. [ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/opcode.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/opcode.md b/doc/opcode.md
index 0f88664fd..f3ce4b70b 100644
--- a/doc/opcode.md
+++ b/doc/opcode.md
@@ -46,7 +46,7 @@ with `"`, either `OP_EXT1` or `OP_EXT2` or `OP_EXT2` can be prefixed.
| OP_LOADI_5' | B | R(a) = mrb_int(5) |
| OP_LOADI_6' | B | R(a) = mrb_int(6) |
| OP_LOADI_7' | B | R(a) = mrb_int(7) |
-| OP_LOADI_16' | BsS | R(a) = mrb_int(b) |
+| OP_LOADI16' | BsS | R(a) = mrb_int(b) |
| OP_LOADSYM" | BB | R(a) = Syms(b) |
| OP_LOADNIL' | B | R(a) = nil |
| OP_LOADSELF' | B | R(a) = self |
@@ -69,7 +69,7 @@ with `"`, either `OP_EXT1` or `OP_EXT2` or `OP_EXT2` can be prefixed.
| OP_JMP | S | pc=a |
| OP_JMPIF' | SB | if R(b) pc=a |
| OP_JMPNOT' | SB | if !R(b) pc=a |
-| OP_ONERR | sS | rescue_push(pc+a) |
+| OP_ONERR | S | rescue_push(pc+a) |
| OP_EXCEPT' | B | R(a) = exc |
| OP_RESCUE" | BB | R(b) = R(a).isa?(R(b)) |
| OP_POPERR | B | a.times{rescue_pop()} |