wudsn-ide/com.wudsn.ide.ref/ASM/C64/TASS/TASS-Reference.asm
2018-12-30 16:52:33 +01:00

368 lines
3.7 KiB
NASM

The Directives:
".byte"
".by"
".word"
".wo"
".dword"
".dw"
".text"
".te"
".align"
".assert"
".asserterror"
".pseudopc"
".import"
".pc"
".macro"
".pseudocommand"
".print"
".printnow"
".error"
".if"
".else"
".for"
".eval"
".fill"
".function"
".return"
".struct"
".namespace"
".filenamespace"
".importonce"
".var"
".const"
".enum"
".label"
".define"
".easteregg"
Asm Commands (Including the illegal ones);
"tas"|"php"|"sax"|"rti"|"sta"|"tsx"|"cpy"|"cpx"|"pha"|"bvs"|"bpl"|"dcp"|"adc"|
"tya"|"eor"|"iny"|"inx"|"lax"|"bcs"|"bvc"|"las"|"bit"|"slo"|"txs"|"inc"|"bcc"|
"lsr"|"sre"|"plp"|"txa"|"rla"|"jmp"|"jsr"|"rra"|"pla"|"sei"|"ahx"|"sed"|"sec"|
"ora"|"isc"|"bne"|"and"|"anc"|"cmp"|"bmi"|"asl"|"ldy"|"clv"|"ldx"|"ror"|"cli"|
"alr"|"dey"|"rol"|"cld"|"dex"|"clc"|"arr"|"brk"|"lda"|"shy"|"axs"|"shx"|"sty"|
"stx"|"beq"|"nop"|"dec"|"sbc2"|"sbc"|"tay"|"xaa"|"tax"|"rts"
DTV Commands:
"sac"|"sir"|"bra"
Default macros:
:BasicUpstart(address)
:BasicUpstart2(address)
Default Constants:
PI
E
AT_ABSOLUTE
AT_ZEROPAGE
AT_ABSOLUTEX
AT_ABSOLUTEY
AT_IMMEDIATE
AT_INDIRECT
AT_IZEROPAGEX
AT_IZEROPAGEY
AT_NONE
BLACK
WHITE
RED
CYAN
PURPLE
GREEN
BLUE
YELLOW
ORANGE
BROWN
LIGHT_RED
DARK_GRAY
DARK_GREY
GRAY
GREY
LIGHT_GREEN
LIGHT_BLUE
LIGHT_GRAY
LIGHT_GREY
BF_C64FILE
BF_KOALA
BF_FLI
BF_BITMAP_SINGLECOLOR
PL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S
CMP_ABSX
CMP_ABSY
AXS_IMM
ADC_IMM
ADC_ZP
ADC_ZPX
ADC_IZPX
ADC_IZPY
ADC_ABS
ADC_ABSX
ADC_ABSY
TXS
DEC_ZP
DEC_ZPX
DEC_ABS
DEC_ABSX
ISC_ZP
ISC_ZPX
ISC_IZPX
ISC_IZPY
ISC_ABS
ISC_ABSX
ISC_ABSY
ALR_IMM
SRE_ZP
SRE_ZPX
SRE_IZPX
SRE_IZPY
SRE_ABS
SRE_ABSX
SRE_ABSY
TSX
LAS_ABSY
LAX_IMM
LAX_ZP
LAX_ZPY
LAX_IZPX
LAX_IZPY
LAX_ABS
LAX_ABSY
TXA
BCC_REL
SHY_ABSX
SHX_ABSY
RRA_ZP
RRA_ZPX
RRA_IZPX
RRA_IZPY
RRA_ABS
RRA_ABSX
RRA_ABSY
BPL_REL
SEI
XAA_IMM
SIR_IMM
DCP_ZP
DCP_ZPX
DCP_IZPX
DCP_IZPY
DCP_ABS
DCP_ABSX
DCP_ABSY
SED
ORA_IMM
ORA_ZP
ORA_ZPX
ORA_IZPX
ORA_IZPY
ORA_ABS
ORA_ABSX
ORA_ABSY
SEC
ANC2_IMM
BCS_REL
SBC2_IMM
LDY_IMM
LDY_ZP
LDY_ZPX
LDY_ABS
LDY_ABSX
LDX_IMM
LDX_ZP
LDX_ZPY
LDX_ABS
LDX_ABSY
Default functions:
abs
acos
asin
atan
atan2
cbrt
ceil
cos
cosh
exp
expm1
floor
hypot
IEEEremainder
log
log10
log1p
max
min
pow
random
round
signum
sin
sinh
sqrt
tan
tanh
toDegrees
toRadians
mod
toIntString
toHexString
toOctalString
toBinaryString
Vector
Vector
Matrix
RotationMatrix
ScaleMatrix
MoveMatrix
PerspectiveMatrix
createFile
List
List
Hashtable
CmdArgument
LoadSid
LoadPicture
LoadBinary
asmCommandSize