diff --git a/sysdata/programs/fisp_test/meta.toml b/sysdata/programs/fisp_test/meta.toml new file mode 100644 index 0000000..438a0d6 --- /dev/null +++ b/sysdata/programs/fisp_test/meta.toml @@ -0,0 +1,15 @@ +[package] +name = "fisp_test" +authors = ["able"] + +[dependants.libraries] +[dependants.binaries] +# Refers to @FunkyEgg's lisp compiler for ableOS +fisp = "" + +[build.debug] +command = "fisp src/main.fisp" + +[run.debug] +depends = ["build.debug"] +command = "" diff --git a/sysdata/programs/fisp_test/src/main.fisp b/sysdata/programs/fisp_test/src/main.fisp new file mode 100644 index 0000000..8d38725 --- /dev/null +++ b/sysdata/programs/fisp_test/src/main.fisp @@ -0,0 +1 @@ +(log info "Hello World\n") \ No newline at end of file diff --git a/sysdata/programs/test/meta.toml b/sysdata/programs/test/meta.toml index c800bc3..25cc59c 100644 --- a/sysdata/programs/test/meta.toml +++ b/sysdata/programs/test/meta.toml @@ -1,12 +1,12 @@ [package] -name = "logger_testing" +name = "htasm_test" authors = ["able"] # Similar to cargo libraries [dependants.libraries] # Similar to cargo install [dependants.binaries] -hblang = "" +htasm = "" [build.debug] command = "hblang src/main.hbl" diff --git a/sysdata/programs/test/src/main.hbl b/sysdata/programs/test/src/main.hbl index ea3850b..d183c59 100644 --- a/sysdata/programs/test/src/main.hbl +++ b/sysdata/programs/test/src/main.hbl @@ -1,2 +1,8 @@ -fn main() { -} \ No newline at end of file +start: + li64 r1, 3 + li64 r2, 1 + lra16 r3, r0, hello_string + li64 r4, 0x14 + +string + .db "Hello, world!\n" \ No newline at end of file