1
0
mirror of https://github.com/zellyn/go6502.git synced 2024-07-05 00:29:05 +00:00
go6502/asm/asm.org
2014-05-01 08:23:26 -07:00

3.7 KiB
Raw Blame History

Concept SCSC AS65 Merlin
origin .OR org
target address .TA
include .IN
comment * ;
>1 space
label at left
equ .EQ =
equ
binary %00000001
macro .MA macro_name macro_name macro
.EM endm
if .DO if foo = 1
.ELSE endif
[.ELSE] (toggle)
.FIN
data
- word (LE) .DA expr
- byte (LSB) .DA #expr
- byte (MSB) .DA /expr
ascii string
- normal use .AS "foo"
- arb. delimeter .AS dfood
- high bit set .AS -"foo"
- last high bit opposite .AT "foo"
hex string .HS
reserve space (block storage) .BS <bytes>

Things to ignore

Concept SCSC AS65
title .TI <lines/page>,title
file .TF filename

SCSC notes

.DO Conditional Assembly 5-9 .ELSE Conditional Assembly 5-9 .FIN Conditional Assembly 5-9 .MA Macro Definition 5-11 .EM End of Macro 5-11