]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/_heap.s
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / common / _heap.s
index 30b89b81e3e3d8651408fafa3c6a5ae2112da781..5b45b85cc33051a2f92a68694b094be1f46c7f11 100644 (file)
@@ -27,7 +27,7 @@ __heaplast:
 
 ; Initialization. Will be called from startup!
 
-.code
+.segment        "INIT"
 
 initheap:
        sec
@@ -39,3 +39,4 @@ initheap:
        sta     __heapend+1
        rts
 
+