diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-04-14 17:20:34 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-04-14 17:20:34 +0300 |
| commit | 367813568d723e598a38a7327fc2bb4abcfc598c (patch) | |
| tree | f4c72a5e3f3992d8b43ed0a5e695c8e9aa790ecf /atk16_asm/builtin_asm/std_bump_alloc.atk16 | |
| parent | 2f69a9ac8c2de9d37248baa5c774c2813f070ba0 (diff) | |
Add data_segment feature, refactor
Diffstat (limited to 'atk16_asm/builtin_asm/std_bump_alloc.atk16')
| -rw-r--r-- | atk16_asm/builtin_asm/std_bump_alloc.atk16 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/atk16_asm/builtin_asm/std_bump_alloc.atk16 b/atk16_asm/builtin_asm/std_bump_alloc.atk16 index 1d87435..32516bc 100644 --- a/atk16_asm/builtin_asm/std_bump_alloc.atk16 +++ b/atk16_asm/builtin_asm/std_bump_alloc.atk16 @@ -21,10 +21,8 @@ ; The alloc_next value is a pointer to the next free word in the heap. ; It is stored in the first word of the heap. -@label bump_next_p - heap_segment -@label bump_arena_start - ${heap_segment - 1} +@data bump_next_p heap_segment +@data bump_arena_start ${heap_segment - 1} @label bump_reset ; reset the heap to its initial state (zero allocated blocks) |
