30 lines
637 B
Plaintext
30 lines
637 B
Plaintext
#!/usr/bin/env arctic
|
|
|
|
"data" # read-only memory
|
|
:value '10' # 1 int
|
|
:array '[1, 2, 3]' # 3 int array
|
|
|
|
"state" # initialized read-write memory
|
|
:variable '10' # 1 int
|
|
:buffer '[1, 2, 3]' # 3 int array
|
|
|
|
"memory" # uninitialized read-write memory
|
|
:pool '{10}' # 10 byte pool
|
|
|
|
"constants" # ephemeral data
|
|
:const '10' # 1 universal integer
|
|
|
|
"macros" # ephemeral code
|
|
:foo
|
|
# body of foo here
|
|
|
|
"code" # loaded code
|
|
:bar
|
|
# body of bar here
|
|
|
|
:_baz # private label, not "exported" to other "code" sections
|
|
# body of baz here
|
|
|
|
"code" # more loaded code, but in here _baz not yet defined
|
|
# in general, all labels beginning with _ are section-local
|