diff options
Diffstat (limited to '04b/in04b')
-rw-r--r-- | 04b/in04b | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -1,9 +1,7 @@ -:test - return -0x3874f - ; declaration: -; global <type> <name> -; local <type> <name> +; global <name> +; local <name> +; argument <name> ; :<label> ; statement: ; <declaration> @@ -16,8 +14,10 @@ ; return <rvalue> ; string <str> ; byte <number> +; reserve <number> ; term: ; <var> +; .<label> ; <number> ; number: ; 'c @@ -25,12 +25,12 @@ ; 0xabc ; lvalue: ; <var> -; *1 <var> / *2 <var> / *4 <var> / *8 <var> +; *1<var> / *2<var> / *4<var> / *8<var> ; rvalue: -; <var> +; <term> ; &<var> -; *1 <var> / *2 <var> / *4 <var> / *8 <var> -; ~<var> +; *1<var> / *2<var> / *4<var> / *8<var> +; ~<term> ; <function>(<term>, <term>, ...) ; <term> + <term> ; <term> - <term> @@ -49,7 +49,16 @@ main() ; hello global x global y ;123 global z - +:test +function + local eee + local fff + local ggg + return *2fff +:test2 +function + return -123 + :syscall function ; ... |