Created
June 9, 2011 02:48
-
-
Save iamgreaser/1015952 to your computer and use it in GitHub Desktop.
from the no frills lua 5.1 vm guide thing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>local a,b,c; c = a and b | |
; function [0] definition (level 1) | |
; 0 upvalues, 0 params, 3 stacks | |
.function 0 0 2 3 | |
.local "a" ; 0 | |
.local "b" ; 1 | |
.local "c" ; 2 | |
[1] testset 2 0 0 ; to [3] if true | |
[2] jmp 1 ; to [4] | |
[3] move 2 1 | |
[4] return 0 1 | |
; end of function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment