mirror of
https://github.com/cc65/cc65.git
synced 2026-03-10 17:21:49 +00:00
20 lines
414 B
ArmAsm
20 lines
414 B
ArmAsm
;
|
|
; Kugelfuhr, 2025-06-26
|
|
;
|
|
; Add "sp" as an alias for "c_sp" so we don't break old code but emit a
|
|
; linker warning if it is used. Added after renaming "sp" to "c_sp".
|
|
;
|
|
|
|
; FIXME: there must be a less ugly way to do this
|
|
.ifp4510
|
|
.else
|
|
.ifp45GS02
|
|
.else
|
|
|
|
.include "zeropage.inc"
|
|
.export sp := c_sp
|
|
.assert 0, ldwarning, "Symbol 'sp' is deprecated - please use 'c_sp' instead"
|
|
|
|
.endif
|
|
.endif
|