forked from AbleOS/ableos
17 lines
484 B
Plaintext
17 lines
484 B
Plaintext
// Change and add to this as you see fit.
|
|
// The STD and even syscalls are still in flux.
|
|
// Do your best to avoid adding bad design.
|
|
// Use std abstractions if they exist like logging functionality
|
|
import "repbuild/hblib/std" as std;
|
|
|
|
// Define main
|
|
fn main(){
|
|
// store from a register to a local address
|
|
// https://git.ablecorp.us/AbleOS/holey-bytes/src/branch/trunk/spec.md#memory-access-operations
|
|
// st(r1, r2, 0x100, 0x100);
|
|
}
|
|
|
|
main();
|
|
|
|
// Terminate execution.
|
|
tx(); |