ea42f738df
asm: implement a mie backend for ivy assembly generation
2025-09-08 15:47:48 +01:00
9f8bdc9365
asm: update references to enum ivy_opcode
2025-09-08 15:47:16 +01:00
57c352ab88
asm: parse: fix parse_linefeed not writing constpool entries for int/uint values
2025-05-16 16:56:47 +01:00
a76525e11f
asm: parse: use specified indices when writing constpool values
2025-05-15 12:09:39 +01:00
2845c29c5f
asm: assembler: constpool value indices are now used and enforced
...
constpool values must be defined in ascending sequence, each index must be greater than the last.
any gaps in the sequence will automatically be filled with null values.
2025-05-15 12:08:34 +01:00
95f58615e0
asm: reader: implement reading ident and atom constpool values
2025-05-15 12:06:04 +01:00
3980c9a21f
asm: parse: implement label reference generation
2025-05-14 16:28:37 +01:00
a35ae51b2f
asm: assembler: implement label creation and resolution
2025-05-14 16:28:30 +01:00
197ba14a4d
asm: reader: implement constpool reader interface
2025-05-13 13:23:59 +01:00
179d0dddaa
asm: assembler: fix write_selector not setting the number of args
2025-05-13 13:23:12 +01:00
ad23eec392
asm: assembler: don't include null terminator when writing string data
2025-05-13 13:22:46 +01:00
8d9ae5f36a
asm: implement object file reader
2025-05-12 15:51:03 +01:00
2e4d1e53f3
asm: fix misplaced padding breaking offset calculation in ivy_assembler_finish
2025-05-12 15:50:48 +01:00
fe23529c6b
asm: implement instruction decoding
2025-05-12 15:49:53 +01:00
c1ba6e78bc
asm: implement $-prefixed label references for branch instructions
2025-05-12 15:49:27 +01:00
ada0ff8c85
asm: fix parts of encoded instructions being overwritten
2025-01-15 17:39:15 +00:00
4561208db5
Merge branch 'main' of https://github.com/washh/ivy
2024-12-16 21:02:03 +00:00
bc8bfcea9d
meta: add missing exe resource files
2024-12-16 20:57:30 +00:00
b67b861ecf
asm: implement instruction assembly and emission
2024-12-15 22:36:50 +00:00
10c03c4b74
asm: add instruction opcode/operand definition table
2024-12-15 19:30:34 +00:00
9e75e1f16f
asm: implement stub instruction emitter
2024-12-15 19:30:14 +00:00
7f5cc3426d
asm: implement parsing of classes, dot-mnemonics
2024-12-14 21:57:29 +00:00
a167dd2af5
asm: fix compiler warnings
2024-12-14 21:03:44 +00:00
462f67c6aa
asm: implement import and instruction parsing
2024-12-14 20:26:04 +00:00
9af971c074
asm: fix all compiler warnings
2024-12-13 17:20:58 +00:00
5fe1a21978
asm: implement an asm parser and emitter
2024-12-13 12:26:01 +00:00
9da6a5807a
asm: implement assembler output file writing
2024-12-10 22:27:26 +00:00
06e12e4545
asm: improve alignment of on-disk structures
2024-12-10 13:19:21 +00:00
26ed9fee04
asm: define on-disk data structures for assembly files
2024-12-09 20:38:01 +00:00
51fe7a0a71
asm: add different assembler scope types
2024-12-09 20:37:42 +00:00
7845afcf38
asm: add interfaces for a low-level bytecode assembler
2024-12-09 13:29:44 +00:00
b87d152f07
meta: add metadata to win32 exe/dll files
2024-12-07 19:32:35 +00:00
ec05379e33
cmake: add support for static build
2024-12-06 19:48:20 +00:00
f1be82c495
asm: add missing includes
2024-11-22 22:30:15 +00:00
230e66e066
asm: lex: add left and right brace symbols
2024-11-20 22:15:10 +00:00
4e8d6e8122
asm: implement asembly lexer
2024-11-19 22:08:58 +00:00
646a851a10
meta: add msvc support
...
since bluelib is already cross-platform, this is mostly just adding
__declspec(dllexport) to the library functions.
2024-11-14 19:30:36 +00:00
d6dea45f52
meta: rename library modules
2024-11-12 19:55:47 +00:00