diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2025-11-28 23:54:11 -0500 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2025-11-28 23:54:11 -0500 |
| commit | 51854e5db46033712b5dbbf78d769ea500eca14f (patch) | |
| tree | f0a10a0538dadc4b67ad25608382a13fc0299f4f /tnslc/compile/compbuf.tnsl | |
| parent | 72ff4422208b096e7374768ae49f050b8457f361 (diff) | |
Update module building code
Diffstat (limited to 'tnslc/compile/compbuf.tnsl')
| -rw-r--r-- | tnslc/compile/compbuf.tnsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tnslc/compile/compbuf.tnsl b/tnslc/compile/compbuf.tnsl index b4ce261..d4bc640 100644 --- a/tnslc/compile/compbuf.tnsl +++ b/tnslc/compile/compbuf.tnsl @@ -26,13 +26,13 @@ struct CompBuf { ;/ /; write_to(~utils.File fout) - fout`.write_cstr("BITS 64\0\n") + fout`.write_cstr("BITS 64\n\0") fout`.write_cstr(self.sec_head.as_cstr()) - fout`.write_cstr("\nsection .data\0\n\n") + fout`.write_cstr("\nsection .data\n\n\0") fout`.write_cstr(self.sec_data.as_cstr()) - fout`.write_cstr("\nsection .text\0\n\n") + fout`.write_cstr("\nsection .text\n\n\0") fout`.write_cstr(self.sec_code.as_cstr()) ;/ |