diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-07-06 12:38:21 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2021-07-06 12:39:34 +0000 |
| commit | c299060bc82e4e198891f4abeb293619cda75090 (patch) | |
| tree | bd609bc2fb7108e18070db9e79c6f3c2a94dde55 /examples/ex.format | |
| parent | fix hello_world comments (diff) | |
| download | subv-c299060bc82e4e198891f4abeb293619cda75090.tar.gz subv-c299060bc82e4e198891f4abeb293619cda75090.zip | |
reorganize, add ask_name example
Diffstat (limited to 'examples/ex.format')
| -rw-r--r-- | examples/ex.format | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/ex.format b/examples/ex.format new file mode 100644 index 0000000..6727dd1 --- /dev/null +++ b/examples/ex.format @@ -0,0 +1,16 @@ +== code 0x80000000 +# repeatedly print "Hi\n" +# main: +# load 0x10010000 (UART0) into t0 +37/7 05/5 10010/20 +# store 0x48 (H) in UART0+0 +13/7 06/5 0/3 00/5 048/12 +23/7 00/5 2/3 05/5 06/5 00/7 +# store 0x69 (i) in UART0+0 +13/7 06/5 0/3 00/5 069/12 +23/7 00/5 2/3 05/5 06/5 00/7 +# store 0x0a (\n) in UART0+0 +13/7 06/5 0/3 00/5 00a/12 +23/7 00/5 2/3 05/5 06/5 00/7 +# jump back up to the top +6f/7 00/5 ff/8 1/1 3f2/10 1/1 |
