|
Appendix D: Assembler Comparisons
SYN ASSEMBLER F-S MACRO |
ATARI ASSEMBLER |
MAC 65 |
ATARI MACRO |
EASTERN HOUSE |
MEANING |
.OR $600 |
* = $600 |
.OR = $600 * = $600 |
ORG $600 |
.BA $600 |
Define Program Origin |
.EQ |
= |
.EQ or = |
EQU or = |
.DE |
Define equates |
.BS 5 |
* = * + 5 |
.DS 5 |
DS 5 |
.DS 5 |
Reserves space for data |
.HS FFFFFF |
.BYTE $FF,$FF,$FF |
.BYTE $FF,$FF,$FF |
DB $FF,$FF,$FF |
.BY $FF,$FF,$FF |
Define Hexidecimal data |
.DA #20,#40 |
.BYTE 20,40 |
.BYTE 20,40 |
DB 20,40 |
.BY 20 40 |
Defines bytes |
.DA $E474 .DA START |
WORD $E474 WORD START |
WORD $E474 WORD START |
DW $E474 DW STAR |
.SI $E474 .SI START |
Define a two byte word low byte, high byte order |
.AT "HELLO" (NOTE) |
.BYTE Using internal HEX values |
.SBYTE "HELLO" |
DB Using internal HEX values |
.BY Using internal HEX values |
Define string using internal character values |
.AS "HELLO" |
.BYTE "HELLO" |
.BYTE "HELLO" |
DB "HELLO" |
.BY "HELLO" |
Define string using ASCII values |
# LABEL |
# LABEL & $FF |
#< LABEL |
# LOW LABEL |
#L, LABEL |
Returns Low byte (LDA LABEL) |
/ LABEL |
# LABEL / 256 |
#> LABEL |
# HIGH LABEL |
#H, LABEL |
Returns High byte (LDA LABEL) |
BGE LABEL |
BCS LABEL |
BCS LABEL |
BCS LABEL |
BCS LABEL |
Branch if > = (After a compare) |
BLT LABEL |
BCC LABEL |
BCC LABEL |
BCC LABEL |
BCC LABEL |
Branch it < (After a compare) |
.IN "D:PARTZ" |
---- |
.INCLUDE #D:PARTZ" |
INCLUDE D:PARTZ |
.FI "DI:PARTZ" |
Include a file for Assembly | NOTE: The
F-S Macro Assembler uses a .AS ^ "HELLO" where the ^ is a Shift *sign.
Return to Table of
Contents | Previous
Chapter | Next Chapter
|
|