MOOG D136-001-007伺服控制器,D136-001-007使用尺寸
顯示和修改內(nèi)存的命令? 斷點和跟蹤功能? 一種功能強大的匯編/反匯編程序,用于修補程序? “通電自檢”功能,用于驗證系統(tǒng)此外,TRAP#15系統(tǒng)調(diào)用生成各種172Bug例程處理用戶可用的輸入/輸出、數(shù)據(jù)轉(zhuǎn)換和字符串函數(shù)程序。172Bug由三部分組成:? 描述了一種命令驅(qū)動的用戶交互軟件調(diào)試器在本章中。這里稱之為“調(diào)試器”或“172Bug”。
MOOG D136-001-007伺服控制器? MVME172LX的命令驅(qū)動診斷包硬件,此處稱為“診斷”。? 用戶界面或調(diào)試/診斷監(jiān)視器,接受來自系統(tǒng)控制臺終端的命令。使用172Bug時,您可以在調(diào)試器目錄或診斷目錄。? 如果您在調(diào)試器目錄中,調(diào)試器將提示172 Bug>顯示,并且您可以在處置? 如果您在診斷目錄中,診斷提示172-顯示Diag>,所有診斷命令位于以及所有調(diào)試器命令。由于172Bug是命令驅(qū)動的,因此它在對在鍵盤上輸入的用戶命令的響應。當您輸入命令,172Bug執(zhí)行該命令并再次出現(xiàn)提示。但是,如果您輸入的命令導致執(zhí)行用戶目標代碼(例如,GO),則控制可能返回也可能不返回,取決于用戶程序的結(jié)果。如果您使用過摩托羅拉的一個或多個其他調(diào)試軟件包,您可以將發(fā)現(xiàn)CISC 172Bug非常相似。也作出了一些努力使交互命令更加一致。例如命令和參數(shù)之間的分隔符可以是逗號或空格可互換。172Bug實現(xiàn)MVME172Bug主要用“C”編程語言編寫,提供可移植性和可維護性的好處。必要時,匯編程序以單獨編譯的模塊的形式使用僅包含匯編代碼。不使用混合語言模塊。實際上,172Bug包含在安裝的單個27C040 DIP EPROM中在插座XU2中,提供512KB(128K長字)的存儲空間。可選地,172Bug可以在單個閃存中加載和執(zhí)行內(nèi)存芯片??蓤?zhí)行代碼在每次通電或重置固件條目和結(jié)果(包括預計算的內(nèi)存設(shè)備中包含的校驗和)根據(jù)應為校驗和。
Commands for display and modification of memory
? Breakpoint and tracing capabilities
? A powerful assembler/disassembler useful for patching programs
? A “self-test at power-up” feature which verifies the integrity of the
system
In addition, the TRAP #15 system calls make various 172Bug routines that
handle I/O, data conversion, and string functions available to user
programs.
172Bug consists of three parts:
? A command-driven user-interactive software debugger, described
in this chapter. It is referred to here as “the debugger” or “172Bug”.
? A command-driven diagnostic package for the MVME172LX
hardware, referred to here as “the diagnostics”.
? A user interface or debug/diagnostics monitor that accepts
commands from the system console terminal.
When using 172Bug, you operate out of either the debugger directory or
the diagnostic directory.
? If you are in the debugger directory, the debugger prompt 172-Bug>
is displayed and you have all of the debugger commands at your
disposal.
? If you are in the diagnostic directory, the diagnostic prompt 172-
Diag> is displayed and you have all of the diagnostic commands at
your disposal as well as all of the debugger commands.
Because 172Bug is command-driven, it performs its various operations in
response to user commands entered at the keyboard. When you enter a
command, 172Bug executes the command and the prompt reappears.
However, if you enter a command that causes execution of user target code
(for example, GO), then control may or may not return to 172Bug,
depending on the outcome of the user program. If you have used one or more of Motorola’s other debugging packages, you
will find the CISC 172Bug very similar. Some effort has also been made
to make the interactive commands more consistent. For example,
delimiters between commands and arguments may be commas or spaces
interchangeably.
172Bug Implementation
MVME172Bug is written largely in the "C" programming language,
providing benefits of portability and maintainability. Where necessary,
assembler has been used in the form of separately compiled modules
containing only assembler code. No mixed language modules are used.
Physically, 172Bug is contained in a single 27C040 DIP EPROM installed
in socket XU2, providing 512KB (128K longwords) of storage.
Optionally, the 172Bug can be loaded and executed in a single Flash
memory chip. The executable code is checksummed at every power-on or
reset firmware entry, and the result (which includes a pre-calculated
checksum contained in the memory devices) is verified against the
expected checksum.