Assembly ideas / Types


Types and signs

Sign Key What does it mean? Range Examples
Decimal number 0..65535 4, 32, 88, 153, 768, 18439, 40009, 62776
$ AltGr+É Hexadecimal number $0..$FFFF $4, $20, $58, $99, $300, $4807, $9C49, $F538
% Shift+5 Binary number %0..%1111111111111111 %100, %100000, %1011000, %10011001, %1100000000
" Shift+2 String "Hello", "Do you want to play a game?"
' Shift+1 Char 'A', '3', '*'
label Address $0000..$FFFF PutPixel, Start, CheckWall, MusicNotes
* AltGr+-, NumPad: * Current address $0000..$FFFF JMP *-17, BPL *+4
variable= Shift+7 Address, number or character $00..$FFFF Lives=$E0, INPUT=$C6, Screen=$0C00, ScnClr=$C567, INTERRUPT=$CE0E, star='*', value=76
[macro AltGr+F, AltGr+G Macro definition [print
LDX #/1
LDY #/2
.
]
@macro AltGr+V Call a macro @print 10,12,"Final Destination"