Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
7d51a7bb
Unverified
Commit
7d51a7bb
authored
Oct 29, 2018
by
take-cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix document
parent
557805da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
doc/opcode.md
doc/opcode.md
+11
-11
No files found.
doc/opcode.md
View file @
7d51a7bb
...
...
@@ -84,17 +84,17 @@ with `"`, either `OP_EXT1` or `OP_EXT2` or `OP_EXT2` can be prefixed.
|OP_RETURN_BLK' |B |return R(a) (in-block return)
|OP_BREAK' |B |break R(a)
|OP_BLKPUSH' |BS |R(a) = block (16=5:1:5:1:4)
|OP_ADD" |BB |R(a) = R(a)+R(a+1)
(Syms[b]=:+)
|OP_ADDI" |BBB |R(a) = R(a)+mrb_int(c)
(Syms[b]=:+)
|OP_SUB" |BB |R(a) = R(a)-R(a+1)
(Syms[b]=:-)
|OP_SUBI" |BB |R(a) = R(a)-C
(Syms[b]=:-)
|OP_MUL" |BB |R(a) = R(a)
*R(a+1)
(Syms[b]=:*
)
|OP_DIV" |BB |R(a) = R(a)/R(a+1)
(Syms[b]=:/)
|OP_EQ" |BB |R(a) = R(a)==R(a+1)
(Syms[b]=:==)
|OP_LT" |BB |R(a) = R(a)<R(a+1)
(Syms[b]=:<)
|OP_LE" |BB |R(a) = R(a)<=R(a+1)
(Syms[b]=:<=)
|OP_GT" |BB |R(a) = R(a)>R(a+1)
(Syms[b]=:>)
|OP_GE" |BB |R(a) = R(a)>=R(a+1)
(Syms[b]=:>=)
|OP_ADD" |BB |R(a) = R(a)+R(a+1)
|OP_ADDI" |BBB |R(a) = R(a)+mrb_int(c)
|OP_SUB" |BB |R(a) = R(a)-R(a+1)
|OP_SUBI" |BB |R(a) = R(a)-C
|OP_MUL" |BB |R(a) = R(a)
*
R(a+1)
|OP_DIV" |BB |R(a) = R(a)/R(a+1)
|OP_EQ" |BB |R(a) = R(a)==R(a+1)
|OP_LT" |BB |R(a) = R(a)<R(a+1)
|OP_LE" |BB |R(a) = R(a)<=R(a+1)
|OP_GT" |BB |R(a) = R(a)>R(a+1)
|OP_GE" |BB |R(a) = R(a)>=R(a+1)
|OP_ARRAY' |BB |R(a) = ary_new(R(a),R(a+1)..R(a+b))
|OP_ARRAY2" |BB |R(a) = ary_new(R(b),R(b+1)..R(b+c))
|OP_ARYCAT' |B |ary_cat(R(a),R(a+1))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment