ATARIAssemblerEditorUsersManualUpdate.pdf

(2157 KB) Pobierz
63021279 UNPDF
/l\"
PRODUCT UPDATE
ATARIUAssemblerEditorUser'sMonuol Updote
Thisproduciupdote contolns
o n!mber o{correcllons
ondodditions
10rhe AIARIAssemb/er
EdirorUser'sMonuol {C014189 03 REV.
l).
InsideFrontCov€r.
The codes lisied ore
BASICErrorCodes,
ErrorNo.
t 1l
12
t3
l4
t5
t6
l7
IB
t9
2A
28
30
32
36
37
3B
39
memory
No sio.ioddress
lor DELcommond
Miniossemblef
ploced with
oddresserfor
IOAD flle error
Undefined lobe re{erence
Errorin syniox o{ siotemeni
tobe deflnedmorethononce
Bufieroverllow
Misslng
(whtch ore olsolisted
inAppendix1):
lobe
Volue greoter
ihon255
Invoid nulsirlng
Incoffectoddressor oddress
iypc
Undelinedlorword reference
Lineioo lorge
Llnrecogirizob
e sourcesloiemenT
too orge
Misuseof LOMEMcommond
No sto|iingoddress
Overlowin NUM of RENUM
l@ key pressed duringl/O operotion
Nonexisienl
device
Endof lle
Recordongerthcn 256 chorociers
no"i.a .l^o< "^+ ...^^^.1
Devicedoes nol reiurnAcknow edge
signol
SerlolbLrs
140
142
143
144
145
146
t62
r65
inputlrominqerror
Serlolbusdotolromeoverrun
Serloldoto checksumenor
Devlce doneerror '
Reod-olter-wriiecompore efrof
Function
notlmplemented
DiskfuI
Pogevii.These ore
the correci poge
How io Wriie Operonds
HexOperonds
lmmedioteOpercnds
Poge ZeroOperonds
Absolute Operonds
Absolute
Indexed Operonds
Non'indexed
Indirect Operonds
IndexedIndireciOperonds
Indirecl
2
2
2
2
IndexedOperonds
IndexedPogeZeroOperonds
SirlngOperonds
RENCommond
FND Commond
6
6
ATARI"
ATARIHOME COMPUTERSYSTEM
Insufficieni
[inenumber
63021279.002.png
/t\
, '-, , t. t.' - '
Poseviii. IntheAp
pendlces,the tiile lor
Appendix 9 shouLd
9 Usingihe Assehbler Edilor
Corrridgeto BeslAdvontoge:
sompleProgroms
63
rogo I ofo Pogsr.
De --o rele-enceo A ARI I l5 Drol DistDr.e.
Poge5. Thecoplion
forFisure2 should
Flgure2. Memorymopwilhout useof LOMEM.
Poge9.
The exompe shownin Figure4 isnoion executoble progrom.
lt isusedony
to demonsirotethe formoi of o somple progrom.
Posell. Thelhird
porogroph should
Peasere{erlo the descripiion of the LABEL=directive
roge rz. rnrsnrormo
iion perioins
lo In.
Droducecn error12.ohhouch
the s-ourcecode oppeori lo ossemblecorrectlyirnywoy. Usewith coullon;&,
ominethe obiectcodelo be cedoin.
indexedooerondswll sometimes
the
flrst isiingin ihe e{i
columnshou d reod,
REP/OtD/NEW
Poge18.On ih,. som'
p e Progromming
Form. the folowino
InenumDers
ole mrss
2A
30
4A
50
60
7A
BO
90
ing:
InFigure 7 on ine50,
INY
roge rY.InrsInrorrno-
lion pedoins io ihe
LIST Commond:
The LISTcommonddoesnoisetthedispoy {log,soo LISTcontoining
contfol
chorocterswill executethosefunciionsinsieod of prinUng
the choraciers.
The LISTCommondfor
,"
lr*t,wl
1,"-Lrrn
[o{f,;W;1
]]
ATARI.
Usinoindirect
PogeI7. Underthe
REPCommond,
63021279.003.png
Jlt"
Poge20. Tfe progrorn
snouo reodos
folows-note in por-
tic! or the indenioiion
onospocrng:
r0 - = s3000
20 LDY #00
30REP
Y
40 BNEXEQSAMEPAGE
50 NYTATLY
60 JMPREP
/0 ABSX = 53744
LDXABSX,
80XEQ = -+560
90 ,END
EDIT
rsT30@
30REP
LDXABSX,
Y
EDIT
LST60,80 Gl@
60 JMPREP
70ABSX = S3244
EDIT
Poso22.The SAVE
Exomples:
SAVE#C,<12351/36
SAVE#D2IMYF
LE<I235,
I/36
,ho!ld ooLtLethts,
sAVE#Ca,<123s,
r/36
To sovean obieci progrom residtngin hex oddressl io oddress2on cossefie
or diskelte,
thecommonds ore:
SAVE#C, < oddressl,oddress2
CAU O\, L.e rfe C5AV. p.oceor.^ lr o -o . ror. al0 P o9 or
Recorder Operoior'sMonuol.
SAVE#D,
flLENAME< oddress
I , oddress2
where FILENAME
is on orbirrorynome voLJ qive io rhe blockof
rnemofyihot yo! ore soving lwhere your obijectprogromis
sro-eol.
SAVEgC9,
4oddress
l,oddress2
Sovesor oblect filewithouiiheDOSheoder bvles.Thiscommond
ptoced'" s.seo lo gor e'o_e _op-9 Inol co-ro- oooeo o^ rle
'osse-^,
Yor^i ro,- ogLpo /o,ro/-rcoJ56 6oootcor"ol
1'o,^lotior ,or-proqror. (See - oa l0o. e r,i-o
Rele,enceNores CA0tZ555)
Poge22.The LOAD
F..."t, roAD+
[ iP" *, ]
I nespec J
shoud ook lkethts:
ATARI"
EDIT
LSTG@
B0XEQ = *+560
63021279.004.png
/l\"
the uooer
--frline.iould reod,
Add to Figure8.
ASM [#Dln],PROGNAMEl.sRCll
In Figure8, on odditiono line will oppeor ot tle end oithe ossembly, prior to'
the ne/r fDlT pronot. rhe odd"d lne shows -ie ,rurrber ol er.oc in tie
Pogs26.Thisinforma-
lion pertoins to where
obieci progrom is to be
W\er gelerot rg -opes_l'o cor be oooled on the cosse-e,do rot os<err-
blednecllylo l-ecosselteLsingASM..#C9,. Slo.e "e obect cooe n RAM
ord tl^err,e SAVI4C9,< oddressl, odoress2.
Poge28.
Ure nore oo.e shoLlo.oe ooo-o o-Meer re ire rrrbe.s ord o.eLoo ops
on thetop holtot ihe poge.
Inoddition,one O
shouldbe deleted
from the sixfi line
down so lhoi it reods'
,00 .oPTNooBl
UnderTill6
ond PoSsDirectives,
odd the fo lowing nole,
. re rrnberol liresper ooqesseto-56 Ire.. locrorg- rerunoe ol
inesoerpoge,cl'o '9e l'e co,rlen-ofocoriol 480H. To co..r,eor os,enbly
listingto feed to top of poge, chongethe locotion48l H to o non-zerovolue.
Forexomple,
BUG@@
DEBUG
c4B0<3C
{this chonges
thenumber
of ines
in iheprintout
to 60)
Pose29. Underihe
Tob Direciive,ihe
fo lowing c ouseond
iob e shouldb--in-
seriedofier ihe form
of ihe direcrive (ihird
porogroph).
whereecchnumbercorresponds
io ihe numberol coumns
io therighiol ihe
fled lo sioripriniing.
. Field
I
2
3
The osi lwo drowinqs
ot the botiom ol the-
3005 D064
40 BNE XEQ SAME
t
^t
PAGE
f u-._ I I
| 20)
40 BNE XEQ S
;..L....r h.,.
3005 D064
AMEPAGE
l ,"tl l
"- ^-l
|
,- |
|
ATARI'
Poge25. n lhe generol
formdioorom
linenumber
|
63021279.005.png
/\
ATARI"
\:-_;
Poge 30. UnderBYTE,
DBYTEond WORD
Dirediv€s, the second
ine shouldreod,
1nthelhird porogroph
ol iext underBYTE
Directive,ihe osi line
Poge 31. Theflrst
porogroph oi lexi
!I:dETLABEL:DIREC-
TIVE,thesecondline
should reod,
lhe somple progrom we usedbefore. Siotemenls 70 ond B0 glve.
Under LABEL:DIREC-
TIVE,lines60 ond 70
inthe progrom should
70 ABSX
80XEQ
nthefolowing.
poroqroph, the lost
given in Appendix5.
Thisnole belongs lust
obove " = Dir€.tive:
Nore:Theossemb er will o woys osslgntwo.byte voluesio {oruord-referenced
lobes. To usezero pooe oddr;ssing;orecily; be certointhot ol zero poge
lobes ore deiined"i.id "{ ri."
-
Poge32.Thefi{th
poroqroph ot text, tirst
line,shouldreod,
Theeflectof ihe direcUve
is to reserve 36 locouons immedlote y. . . .
UnderlF Dkective,
lhe fi|5tporogroph of
lexi, losi senience,
shoud reod'
is noi eqlo io zero, o I ol the code behreen lines900 ond
990 will notbe ossembled
TheSOURcE CODE
progrom shouldbe
rewritlenos lollows-
note in poriiculor the
sPocing
OIOO ;CONDITIONAL
ASSEMBLY
EXAMPTE
0r30 -: s5000
0t40 LDA $45
OI50 ,IFZ @ZNOTEQUALO
OI60 TAX ,THIS CODEASSEI\,IBIED
requirements:
FZ=O
OIlO ZNOTEQUALO
0180 . lFZ-l @ZNOTEQUALI
0t90 AsLA,TH|SCODEASSEMBLED
O2OOZNOTEQUALI
02IO INX,THIS
FZ=t
CODEALWAYS
ASSEMBLED
= s3744
= . + s60
lf the expression
0120 z:o
63021279.001.png
Zgłoś jeśli naruszono regulamin