Using it
huc6280
PC Engine HuC6280, ca65 syntax.
--dialect also accepts pce, pc-engine.
Directives
15 directives, 20 spellings. This is the list the parser looks a word up in, so a spelling here is one the assembler accepts and a spelling missing from it is one it refuses.
| Directive | Spellings | Notes |
|---|---|---|
asciiz |
.asciiz |
|
bankbytes |
.bankbytes |
|
bytes |
.byte, .byt |
|
dbyt |
.dbyt |
|
dword |
.dword |
|
faraddr |
.faraddr |
|
hibytes |
.hibytes |
|
ignored |
.setcpu, .segment, .smart |
Accepted and discarded — it changes no bytes |
incbin |
.incbin |
|
include |
.include |
|
lobytes |
.lobytes |
|
macro |
.macro, .mac |
|
org |
.org |
|
res |
.res |
|
words |
.word, .addr |
Instruction mnemonics are not listed here — they come from the instruction-set spec and have their own reference.
Projects in more than one file
A relative request is looked for in the including file’s directory, then each enclosing includer’s, then in the -I search directories in the order they were given.
The anchor is pinned against this dialect’s own reference assembler, and the dialects genuinely disagree — Projects in more than one file has the comparison.
Elsewhere
- Dialects — every dialect and what each is the syntax of
- Where we differ — every known difference from a reference assembler
- Moving a project across — adopting this on a project that already builds