runlib.fjΒΆ
w = ?? // memory and operands width. Is defined at compile time.
ConstantsΒΆ
Name |
Expression |
Description |
|---|---|---|
|
|
w = ?? // memory and operands width. Is defined at compile time. |
|
|
MacrosΒΆ
stlΒΆ
stl.startup/0β Inits the IO variable, and jumps to the next instruction.stl.startup/1β Inits the IO variable, and jumps to the given code start.stl.startup_and_init_pointers/0β Inits the IO variable, and the pointers globals.stl.startup_and_init_pointers/1β Inits the IO variable, and the pointers globals.stl.startup_and_init_all/0β Initialize anything needed for the standard library.stl.startup_and_init_all/1β Startup macro β should be the first piece of code in your program. Initialises everything needed for the standard library.stl.startup_and_init_all/2β Initialize anything needed for the standard library.stl.fjβ macro for 1 flipjump opstl.wflip_macro/2β macro for 1wflipopstl.wflip_macro/3β macro for 1wflipop (with jump)stl.comp_ifβ if expression is 0 (compilation time), jump to l0. else jump to l1stl.comp_if0β if expression is 0 (compilation time), jump to l0. else continuestl.comp_if1β if expression is not 0 (compilation time), jump to l1. else continuestl.comp_flip_ifβ if expr != 0 (compilation time), flip the given bit.stl.skipβ skip the next flipjump opstl.loopβ finish (loop to self)stl.output_bitβ bit is a constant. 0 will output 0, anything else will output 1.stl.output_charβ ascii is a constant. The macro outputs the byte (ascii & 0xff)stl.outputβ str is a constant. The macro outputs the bytes of it (from lsB to msB) until it becomes all zeros.