From fd5bdaff40f93546009e1ec854fd26df01e78f22 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 30 Apr 2024 15:25:17 +0300 Subject: correct addr + Doesn't quite implement stack handling fully as of yet, but slowly getting there --- tests/hello_world.qbt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/hello_world.qbt (limited to 'tests/hello_world.qbt') diff --git a/tests/hello_world.qbt b/tests/hello_world.qbt new file mode 100644 index 0000000..8419208 --- /dev/null +++ b/tests/hello_world.qbt @@ -0,0 +1,18 @@ +main() +{ + &_putchar ('H') => (); + &_putchar ('e') => (); + &_putchar ('l') => (); + &_putchar ('l') => (); + &_putchar ('o') => (); + &_putchar (',') => (); + &_putchar (' ') => (); + &_putchar ('W') => (); + &_putchar ('o') => (); + &_putchar ('r') => (); + &_putchar ('l') => (); + &_putchar ('d') => (); + &_putchar ('!') => (); + &_putchar ('\n') => (); + => (); +} -- cgit v1.3