diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-25 20:00:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-25 20:00:36 -0700 |
commit | bdf1bf77774ae3e2b66eb9c6ce87b52b2b646fd6 (patch) | |
tree | 6f0a9c46793798c3fb3978355d84665d45f1d55b /apps/tile/main.mu | |
parent | ad54c696678318126e41058182335e2bf5b30d88 (diff) | |
download | mu-bdf1bf77774ae3e2b66eb9c6ce87b52b2b646fd6.tar.gz |
7103 - tile: first primitive for strings
Diffstat (limited to 'apps/tile/main.mu')
-rw-r--r-- | apps/tile/main.mu | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/tile/main.mu b/apps/tile/main.mu index 08e6532b..714695fd 100644 --- a/apps/tile/main.mu +++ b/apps/tile/main.mu @@ -77,6 +77,19 @@ fn test { initialize-environment-with-fake-screen env, 5, 0xa var g/eax: grapheme <- copy 0x22 # '"' process env, g + g <- copy 0x61 # 'a' + process env, g + g <- copy 0x22 # '"' + process env, g + g <- copy 0x20 # space + process env, g + g <- copy 0x6c # 'l' + process env, g + g <- copy 0x65 # 'e' + process env, g + g <- copy 0x6e # 'n' + print-string 0, "--\n" + process env, g render env } |