diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-30 15:25:17 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-30 15:25:17 +0300 |
| commit | fd5bdaff40f93546009e1ec854fd26df01e78f22 (patch) | |
| tree | 2750eff7430b62d790292df238595a22e3f02616 /tests/hello_world.qbt | |
| parent | cb71bb6ad44d5e6ea4d4af4896c23088957cbdb3 (diff) | |
| download | qbt-fd5bdaff40f93546009e1ec854fd26df01e78f22.tar.gz qbt-fd5bdaff40f93546009e1ec854fd26df01e78f22.zip | |
correct addr
+ Doesn't quite implement stack handling fully as of yet,
but slowly getting there
Diffstat (limited to 'tests/hello_world.qbt')
| -rw-r--r-- | tests/hello_world.qbt | 18 |
1 files changed, 18 insertions, 0 deletions
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') => (); + => (); +} |
