6809 Assembler and Linker User Guide
INTRODUCTION
CROSS ASSEMBLER
Assembler Source Code Format
Assembler Source Code Format
Label Field
Operation Field
Operand Field
Comment Field
Assembler Expressions
Assembler Expressions
Integer Numbers
Literals
Symbols
Examples
Assembly List Format
Assembly List Format
Page Header
Source and Object Code list
Page Width
Error Line
Symbol Table
Conditional Assembly
Assembler Macros
Introduction to Assembler Macros
Dummy Arguments
Dummy Labels
NARG Symbol
Memory Bank Switching
Bank Switching Method
Using the Section Directive
Setting up the Linker
Running the Assembler from the Command Line
LINKER
Overview and Command Line Operation
Default Filenames
Linker Response File
Linker Command Line Options
Generate Intel Hex Output (/HEX)
Generate OMF51 Output (/OMF)
Generate S Record Output (/SREC)
Generate IEEE Binary Output (/IEEE)
Generate IEEE ASCII Output (/IEEEA)
Generate Plain Binary Output (/BIN)
Output Debug Information (/DEBUG)
Generate Error File (/Fe)
Specify External Ram Limits (/RAM:)
Specify ROM Limits (/ROM:)
Place Program Code in External RAM (/NOROM)
Specify Segment Addresses and Order (/CODE /DATA)
Sort Map File in Address Order (/MOa)
Sort Map File in Name Order (/MOn)
MICROPROCESSOR INSTRUCTION REFERENCE
ABA
ABX
ADC
ADD
AND
ANDCC
ASL
ASR
BCC
BCS
BEQ
BGE
BGT
BHI
BHS
BIT
BLE
BLO
BLS
BLT
BMI
BNE
BPL
BRA
BRN
BSR
BVC
BVS
CBA
CLC
CLF
CLI
CLIF
CLV
CLR
CMP (8 bit)
CMP (16 bit)
COM
CWAI
DAA
DEC
DES
DEX
DEY
EOR
EXG
INC
INS
INX
INY
JMP
JSR
LD (8 bit)
LD (16 bit)
LEA
LSL
LSR
MUL
NEG
NOP
OR
ORCC
PSH
PUL
ROL
ROR
RTI
RTS
SBA
SBC
SEC
SEF
SEI
SEIF
SEV
SEX
ST (8 bit)
ST (16 bit)
SUB
SWI
SYNC
TAB
TAP
TBA
TFR
TPA
TST
TSX
TXS
WAI
ASSEMBLER DIRECTIVES
Assembler Directives
Assembly Options
Introduction
CLIST/NOLIST
LIST/NOLIST
LISTF
MC/NOMC
MD/NOMD
MEX/NOMEX
OBJ/NOOBJ
PAGE/NOPAGE
SYM
UNA/NOUNA
Other Assembler Directives
Introduction
BSZ
COMMON
ELSEC
END
ENDC
ENDM
EQU
FAIL
FCB
FCC
FDB
FIELDS
IFC/IFNC/IFIC/IFINC
IFcc
INCLUDE
MACR
NAME
OPT
ORG
PAGE
PAGEWIDTH
SECTION
SET
SETDP
SPC
TTL
XDEF
XREF