mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
26 lines
575 B
ArmAsm
26 lines
575 B
ArmAsm
; Test new-style (@:) and legacy-style (:) unnamed labels.
|
|
; Make sure that they have identical behavior.
|
|
|
|
.ORG $0000
|
|
|
|
@: nop
|
|
: nop
|
|
.ASSERT @<< = $0000, error
|
|
.ASSERT @-- = $0000, error
|
|
.ASSERT :<< = $0000, error
|
|
.ASSERT :-- = $0000, error
|
|
.ASSERT @< = $0001, error
|
|
.ASSERT @- = $0001, error
|
|
.ASSERT :< = $0001, error
|
|
.ASSERT :- = $0001, error
|
|
.ASSERT @> = $0002, error
|
|
.ASSERT @+ = $0002, error
|
|
.ASSERT :> = $0002, error
|
|
.ASSERT :+ = $0002, error
|
|
.ASSERT @>> = $0003, error
|
|
.ASSERT @++ = $0003, error
|
|
.ASSERT :>> = $0003, error
|
|
.ASSERT :++ = $0003, error
|
|
@: nop
|
|
: nop
|