73 | Page
09;
“A” , DSP “GREAT CIRCLE”
continued
by a pause and then an
Automatic execution of
the rest of the code until
a HLT, END or another
10;
(ACS (SIN A * SIN C + COS A * COS C *
COS (D – B))) * 60 => I
given the departure and
destination latitudes and
longitudes.
The distance is stored in
11;
DSP “DISTANCE =”
used to displace the
output message that the
next number will be the
distance between the
12;
INT (I) => I , I => HLT, PRT I
command. That is, select
only the integer portion
of the result and store it
in memory I, which
replaces the integer/
decimal value with the
integer value only. This
is a choice in this
program but may differ
for another program.
I=>HLT stops the
program at this point to
display the answer.