[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need LISA help
- Subject: Re: Need LISA help
- From: Andy McFadden <fadden@fadden.com>
- Date: 24 Feb 2009 01:03:59 GMT
- Newsgroups: comp.sys.apple2
- Organization: faddenInternet, Inc.
- References: <gntcsm$et9$1@aioe.org> <3qxhtlwhr6ln.1qa7ylcg4a4qu.dlg@40tude.net>
- User-agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.24-22-generic (i686))
- Xref: g2news2.google.com comp.sys.apple2:9046
Jeff Blakeney <jeff.blakeney@a2central.com.remove-l3v-this> wrote:
> If the book you are using has source code for an assembler other than
> LISA, keep in mind that there are assembler specific mnemonics that may
> not work. Things like ASC, DS, DB, DW, EQU, ORG and such are assembler
> specific as is the way labels are defined.
I wrote parsers for LISA v2, v3, and v4/v5 for CiderPress. v3 used a table
of 3-character entries that condenses to roughly this:
add adc and cmp eor lda ora sbc
sta sub xor asl dec inc lsr rol
ror .if whl bra bcc bcs beq bfl
bge blt bmi bne bpl btr bvc bvs
jsr obj org phs .md fzr inp lcl
rls bit cpx cpy jmp ldx ldy stx
sty trb tsb stz = con epz equ
set .da adr byt csp dby hby anx
sbt ttl chn blk dci inv rvs msg
str zro dfs hex usr sav
.el .fi .me .we dph if1 if2 end
exp gen lst nls nog nox pag pau
nlc cnd asl lsr rol ror dec
inc brk clc cld cli clv dex dey
inx iny nop pha php pla plp rti
rts sec sed sei tax tay tsx txa
txs tya phx phy plx ply
The file is tokenized to keep the size down. So if it's not in the table
somewhere, it's probably not legal.
--
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/