Breakpoint; C N) Set Carry Flag; Cr) After B Or T] Single-Step; (D N) Set Decimal-Adjust Flag - Advanced Micro Computers Am96/4016 User Manual

Table of Contents

Advertisement

3-5. (B
x,y,z)
SOFTWARE BREAKPOINT
Sets two or three software breakpoi nt
addresses (x,y and optionally z) and
starts execution at the current program
counter address.
Only the first break-
poi nt encountered is used; the others
are discarded when anyone breakpoint
is reached.
Thi s command executes to, but not i n-
eluding, instruction x.
Unlike the
hardware breakpoint command (Ex), this
command cannot be used in ROM space.
User code is modified temporarily by
inserting a system call at the break-
point address, but the code is restored
upon break.
Thus the breakpoi nts are
cleared everytime and do not stay set.
Output
includes the
program counter
(PC) at break and the first word of the
next instruction (NI) to be executed.
You might need to set the program coun-
ter (P=x) pri or to enteri ng thi s com-
mand.
3-6. (C
n)
SET CARRY FLAG
Sets or resets the carr'y (C) f1 ag to
n=l or
o.
See the XF command for di s-
playing flags.
3-7. [(cr) after B or T] SINGLE-STEP
After a B (breakpoint) or T (trace)
command has been executed, s i ng1 e ca r-
riage returns (cr) will
execute and
display subsequent instructions one at
a time.
This single-step mode is dis-
abled with any macro-type command such
as G, ASM, LOAD or SAVE.
3-8. (0
n)
SET DECIMAL-ADJUST FLAG
Sets or resets the decimal-adjust (DA)
flag to n = 1 or O.
This syntax takes
precedence over the Di spl ay Memory
(0
x,y) command.
See the XF command for
displaying flags.
3-9. (0
x,y)
DISPLAY MEMORY
Displays the contents of memory at ad-
dresses x through y. Up to eight hexi-
decimal words, p1 us thei r ASCI I byte
equivalents and beginning address are
displayed on each line.
Bytes with no
ASCII equivalent are represented by an
underline (this character may vary with
your terminal).
The y ending address is optional and if
missing is assumed equal to x.
The
least significant bit of each address
x and y is cleared to insure display on
word boundries.
Display of locations 0 or 1 can con-
flict with the On command.
To avoid
this conflict, these addresses can be
represented
by
0~
and
~l
,
respec-
tively. This is not necessary, however,
in the case of a range such as D0,F.
The ASCII equivalents displayed in the
right-hand column are useful for iden-
tifying alphanumeric data.
~3-10.
(E
x)
HARDWARE BREAKPOINT
Sets a hardware breakpoint at address
x.
It stays set unt
il
changed.
Set-
t i ng to zero has the same effect as a
clear.
Control is returned to Monitor
following
completion of instruction if
the address is encountered during user
program execution.
A breakpoint should not be set to the
addres s i mmed i ate1y fo 11 owi ng a system
call because unpredictable results will
occur.
3-11. (F
x,y,z)
FILL MEMORY
The contents of memory words from the x
address through the y address are fil-
led with the 16-bit value z.
The least
significant bit of each address x and y
is cleared to insure fill on word boun-
dries (even addresses).
If y is mis-
sing, it is assumed equal to x.
3-5

Advertisement

Table of Contents
loading

Related Products for Advanced Micro Computers Am96/4016

This manual is also suitable for:

Amz8000

Table of Contents