_heap.inc
来自「6502 c compiler free open source」· INC 代码 · 共 36 行
INC
36 行
;; _heap.inc;; (c) Copyright 2003, Ullrich von Bassewitz (uz@cc65.org);; Assembler include file that makes the constants and structures in _heap.h; available for asm code.; Struct freeblock; NOTE: For performance reasons, the asm code often uses increment/decrement; operators to access other offsets, so just changing offsets here will; probably not work..struct freeblock size .word next .addr prev .addr.endstruct; Struct usedblock; See notes above.struct usedblock size .word start .addr.endstructHEAP_MIN_BLOCKSIZE = .sizeof (freeblock) ; Minimum size of an allocated blockHEAP_ADMIN_SPACE = .sizeof (usedblock) ; Additional space for used bock; Variables.global __heaporg.global __heapptr.global __heapend.global __heapfirst.global __heaplast
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?