Appendix C: Assembler Comparisons

SYN ASSEMBLER F-S MACRO ATARI ASSEMBLER MAC 65 ATARI MACRO EASTERN HOUSE MEANING
.OR $600* = $600.OR = $600 * = $600ORG $600 .BA $600Define Program Origin
.EQ=.EQ or =EQU or =.DEDefine equates
.BS 5* = * + 5.DS 5DS 5.DS 5Reserves space for data
.HS FFFFFF.BYTE $FF,$FF,$FF.BYTE $FF,$FF,$FFDB $FF,$FF,$FF.BY $FF,$FF,$FFDefine Hexidecimal data
.DA #20,#40.BYTE 20,40.BYTE 20,40DB 20,40.BY 20 40Defines 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, LABELReturns Low byte (LDA LABEL)
/ LABEL# LABEL / 256#> LABEL# HIGH LABEL#H, LABELReturns High byte (LDA LABEL)
BGE LABELBCS LABELBCS LABELBCS LABELBCS LABELBranch if > = (After a compare)
BLT LABELBCC LABELBCC LABELBCC LABELBCC LABELBranch 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