This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mg_notes:cc65_tips:ca65_dum [2017/12/29 15:26] M.G. |
mg_notes:cc65_tips:ca65_dum [2019/08/09 12:51] M.G. dsect |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ca65 - Dum/Dend Macros ====== | + | ====== ca65 - Dum/Dsect/Dend Macros ====== |
- | Several Apple II emulators have ''DUM''/''DEND'' pseudo-ops that define an originated section of source that will have no code generated. E.g.: | + | Several Apple II assemblers have ''DUM''/''DEND'' pseudo-ops that define an originated section of source that will have no code generated. E.g.: |
<code> | <code> | ||
Line 20: | Line 20: | ||
.bss | .bss | ||
.org addr | .org addr | ||
+ | .endmacro | ||
+ | |||
+ | .macro dsect | ||
+ | .pushseg | ||
+ | .bss | ||
+ | ; User must supply their own org | ||
.endmacro | .endmacro | ||