Atari 800 Manuel de l'opérateur Page 61

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 92
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 60
APPENDIX
5
EXPRESSIONS
WheD
an insrrucrion
or
djrefljve
calls
fora
number
in the
oprand,lhe
number
may
be
given
as
an
,,expafession.',
the n
*1i**r.'..
a'
"*i,"".;;;
i:"ffii;
i[T
"'
ffieraused
being
the varue
or the
Exprcssions
are rnade
up
ofoperators
and
Lerms.
Terms
are either
numbers
or
laDels
which
sfand
for
numbers.
An
expression
conLaining
a
f"Ua
,.rrn_,f,ri
cloe8
not
have
a nlrmeric
value
will
be
nagged
as
an
error.
There
are
five
operatorsj
four
are
arithmetiq
and
one
is logicat.
Addirion
is
signified
by rhe
6ign
subtraction
i6 signified
by
the
sjdn
Mrdriplicarion
is
sjqnified
bv
Division
is signifiea
by
"
,
Logicai
AND
i6 signified
by
ajr
Expre$ions
must
not
contain
parentheses.
Expressions
are
evaluared
from
tefi
to fighr.
Examples:
*:$90+1002
JMP
3
+
2*25'4./5_
3
JMP
0097
JMP
$0061
1oo
LDA
*NUM1+NUM2
NUMI
and
NUM2
must
be defined
some-
where
in
the program.
The
instruction
loads
the AccumuGtor
with
the
sum
of
the
numbers
in
the locations
NUM1
and
NUM2.
L-DA
i-ABf,L
p
$00FF This yields
I he
low
order
b}1e
of rhe value
rr^
QUL
ofLABEL_
3lf
J'ABE
' 56
*i""*'*;H.ntto
"rder
orb''te
orthe
i
' |
i
i
I
j
I
I
. l
. t
. i
- u
I
il
I
I
100
200
300
400
600
610
620
630
These
instructions
are equivalent.
Vue de la page 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 91 92

Commentaires sur ces manuels

Pas de commentaire