diff options
author | pommicket <pommicket@gmail.com> | 2022-01-06 11:57:55 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-01-06 11:57:55 -0500 |
commit | a415ec31c095b89b7867d61425e9211fceaf7a42 (patch) | |
tree | 18153be078018acdfc4f44d747837d03c391ac26 /04b/in04b | |
parent | 9d43ebe2aa32be615104a0dc3aec386b2017ccac (diff) |
rvalues!
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 ; ... |