From 367813568d723e598a38a7327fc2bb4abcfc598c Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 14 Apr 2024 17:20:34 +0300 Subject: Add data_segment feature, refactor --- atk16_asm/builtin_asm/std_bump_alloc.atk16 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'atk16_asm/builtin_asm/std_bump_alloc.atk16') 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) -- cgit v1.3