From 3491372a1d9e4fde2551442cf0aeb1ffae888547 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 7 May 2020 18:40:23 +0900 Subject: Update `doc/opcode.md` for operand signs. [ci skip] --- doc/opcode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/opcode.md') 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()} | -- cgit v1.2.3