(S N) Set Sign Flag; S X) Display And; Substitute Memory; (T M,N) Trace - Advanced Micro Computers Am96/4016 User Manual

Table of Contents

Advertisement

01
and recreated.
The
II
fi
1
E~"
name must be
in the AmSYS 8/8 fonnat wiith the disk
drive specified, and the HOST program
must be executing.
!"II
' C ) ' /-/
f'
J /-'';'
"I
If thi s command i s
enter~~~':~ I~'{h'~;l
De-
velopment System, a prompt, consi st i ng
of the currently logged-in diskette
identifier in parentheses, will appear
on your screen.
These simply acknow-
1
edge communications received from the
Evaluation Board Monitoro
See the next section entitled AmSYS 8/8
Up/Down Loading if you ar(:! assembling
programs on the Development System.
3-23. (SM) ENTER SYSTIErvl MODE
Drops you into the CPU's System Mode,
in which all
privilleged instructions
can be executed. The Mon i tor is in i-
tialized at power-up in Normal (pro-
tected) Mode.
3-24. (S n) SET SIGN FL.AG
Sets or resets the sign (S) flag to n =
1 or O.
Thi s syntax takes precedence
over the Display and Substitute Memory
command.
The XF command can be used to
display the flags.
3-25. (S
x)
DISPLAY AND
SUBSTITUTE MEMOHY
Displays the contents of the memory
word at add ress x and ' W a
~i
t s fo r your
substitution.
A 16-bit hex value will
replace the contents of the word at ad-
dress x and advance to the next word. A
carriage return onl.y
w~ill
advance to
the next word without substitution.
A
peri od (.) wi
11
termi nate subst i tut ion
and return to the Monitor's command
mode.
Subst i tut ions of addresses 0 or 1 can
conflict with the Sn command.
To avoid
this conflict, these addresses may be
represented
by
IJ~
and
,~,
respec-
tively.
3-26. (T
m,n)
TRACE
Executes m instructions beginning at
the current program counter address and
displays each instruction in sequence.
If n is specified, the display occurs
in intervals of n instructions.
This
command
is
useful
only for CRT or
printer consoles, as an alternative to
manual si ngl e-steppi ng.
You might need to set the program coun-
ter (P=x) before entering this command.
Care should be taken not to trace over
system calls because unpredictable re-
sults will occur.
3-27. (V n) SET OVERFLOW FLAG
Sets
or
resets
the
parity/overflow
(P/V) flag to n
=
1 or
o.
This command
is equivalent to the Set Parity Flag
(Pn) command.
The fl ag s can be di s-
played with the XF command.
3-28. (X) DISPLAY ALL REGISTERS
Displays the contents of all 16 CPU re-
gisters, plus the program counter (PC)
and fl ags.
3-29. (XF) DISPLAY FLAGS
Displays the six flags contained in the
CPU's Flag and Control Word.
The bit-
setting of the flag immediately follows
its mnemonic.
The flags are:
C Carry
Z Zero
S Sign
P Parity or overflow (P/V)
D Decimal adjust (DA)
H Half-carry
3-7

Advertisement

Table of Contents
loading

Related Products for Advanced Micro Computers Am96/4016

This manual is also suitable for:

Amz8000

Table of Contents