1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/test-programs/main.rhai

34 lines
630 B
Plaintext

import "sysdata/test-programs/hblib/std" as std;
fn main(){
std::Error(":o) h0nk");
std::Warn("Your mom is a worm!");
std::Info("Hello, world!");
// std::Debug("XYZ");
// std::Trace("Trace Deez");
// let ADDR = 0xFFFF_FFFF_8100_0000;
// let ADDR_PLUS_ONE = ADDR + 1;
// let ADDR_PLUS_NINE = ADDR + 9;
// li64(r25, 1);
// st(r25, r0, ADDR, 1);
// li64(r25, 0);
// st(r25, r0, ADDR_PLUS_ONE, 8);
// li64(r25, 17);
// st(r25, r0, ADDR_PLUS_NINE, 1);
// li64(r1, 3);
// li64(r2, 2);
// li64(r3, ADDR);
// li64(r4, 0);
eca();
tx();
}
main();