1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-02 18:29:29 +00:00
xa65/xa/tests/recucom/test.s
2023-10-10 12:35:39 +02:00

34 lines
450 B
ArmAsm

*=$1000
lda #0
; recursive comments (may / should?) go away with 2.4
/*
sta $2000
/* commented
lda #1
*/
*/
; C++ comments
// sta $2001
; quotes in comments
lda #2 /* this is '$' */
lda #3 /* this is "$" */
lda #4 /* this is "\"" */
lda #5 /* this is '"' */
; examples in preprocessor statements
#define E_ILLNAM <-34 /* illegal name (joker "*", "?", "\"") */
/* TODO: interpret "\" escape codes, shell variables */