Monitor Commands; Asm) Execute Assembler - Advanced Micro Computers Am96/4016 User Manual

Table of Contents

Advertisement

only protected instructions are ex-
ecuted.
The SM command drops you
into System Mode.
These modes cor-
respond to the CPU's distinction
between Normal and S.ystem modes.
Command/Program Modes .. These modes
differentiate occasions when you
are directly interfacling with the
Monitor versus interfacing with the
Assembler or an application pro-
gram.
In Program Mode, the Monitor
acts as a slave to the other pro-
gram being executed and services
that program's needs.
The G or
ASM command s , wh i ch lexecute pro-
grams, exemplify actions that cause
a change from Command Mode to Pro-
gram Mode.
In Progy'am Mode, call s
can be made to the Mani tor ei ther
through
the
SC
instruct i on
or
through direct keyb6aY'd
entry at
program input po i nt s..
Di rect key-
board
entry must be preceded by
the ESC (escape) key, and this only
works when the Monitor
is driving
I/O for the application program.
An asteri sk
(*)
i s
us(~d
for command
prompting. However, since the keyboard/
dis play consol e has
0
n1yoneli ne
0
f
display characters, the prompt does not
appear on this console if a line of
data is displayed in r1esponse to the
previous command.
When commands are
used that requi re no di spl ay in re-
s ponse, t he command prompt wi 11 appear
on the keyboard/display console just as
on conventional
CRT or printer con-
soles.
There are two text-ed it i nlg funct ions:
The 1ast character entelred can be de-
l eted with the DEL key on RS232C con-
so1es or the RUB OUT key on Teletype
(TTY) consoles.
Also, the entire cur-
rent line of entry can be deleted with
the Control X key pair.
If unrecogni zed commands are entered,
the Monitor wi 11 respond wi th a ques-
tion mark
(?).
3-3.
MONITOR COMMANDS
The Monitor commands are listed accord-
i ng to funct i ona1 categori es in tab 1e
3-1.
Upper case characters are literal
entries,
lower-case
characters
are
variable entries.
The commands are de-
scribed in detail on the pages that
follow, according to the alphabetical
order of the command mnemoni c;
here
the commands are enclosed in paran-
theses which should not be entered as
part of the command.
All memory ad-
dress
and
CPU register values
(the
x,y,z parameters) are hexidecimal.
All
CPU reg i ster numbers, fl ag val ue sand
other m,n parameters are decimal.
In addition to these commands,
any
AmZ8000 hex-format instructions can be
entered through the Monitor, without
the Assembler.
The Monitor initializes
the program counter at hex 1000 and the
stack pointer (register R15) at hex
40AE.
System calls (the 7F instruction
followed by a non-zero reference value)
will di spl ay the reference val ue when
the program exits to the Monitor.
Blank
spaces
separating
single-
character commands and variables are
optional.
All addresses are 16 bits long. Memory
reference always return words and i n-
structions always begin on word bound-
ries (even addresses).
3-4. (ASM) EXECUTE ASSEMBLER
Invokes
the
1i ne- by-l i ne
Assembler,
whi ch is assumed to res ide in ROM hex
addresses 1000 through 2FFF.
It wi 11
immediately prompt you for input.
See
the Am96/4016-ASM
User's Manual
for
instructions on how the Assembler is
operated.
3-3

Advertisement

Table of Contents
loading

Related Products for Advanced Micro Computers Am96/4016

This manual is also suitable for:

Amz8000

Table of Contents