mirror of
https://github.com/VARCem/asm6502.git
synced 2026-02-04 05:44:36 +00:00
25 lines
505 B
Plaintext
25 lines
505 B
Plaintext
C64 = 1 ; set to zero to assemble for Commodore PET
|
|
|
|
.if C64
|
|
.echo "Assembling for the Commodore 64"
|
|
SCREEN_WIDTH = 40
|
|
.else
|
|
.echo "Assembling for the Commodore PET series"
|
|
SCREEN_WIDTH = 80
|
|
.endif
|
|
|
|
.echo "SCREEN_WIDTH = ", SCREEN_WIDTH
|
|
|
|
.if 1
|
|
.echo "an undefined value prints like ", ?
|
|
.else
|
|
.if 1
|
|
.echo "assembler is flawed!"
|
|
.endif
|
|
.endif
|
|
|
|
.echo "hexadecimal representation of ", $1267, " is ", [$]4711
|
|
|
|
.ifndef ?
|
|
.echo "I run on an undefined value"
|
|
.endif |