PM3398B-6P-1-3P-E工控模塊,PIONEER MAGNETICS中文PDF使用手冊
作為參數的地址許多命令使用ADDR作為參數。197Bug接受的語法是類似于單行匯編程序所接受的。所有控件尋址允許模式。還提供了“地址+偏移寄存器”模式。地址格式
地址是以十六進制數字輸入的,地址或范圍的起始地址可以是由形式為^S、^S、^U或^U的后綴限定,其中S或S定義管理器地址空間,U或U定義用戶地址空間。默認值,如果未指定限定符,則為Supervisor。
PM3398B-6P-1-3P-E工控模塊一旦輸入了限定符,它對為輸入的所有地址都有效該命令序列,直到重新輸入197Bug或另一個限定符假如偏移寄存器八個稱為偏移寄存器的偽寄存器(Z0-Z7)用于簡化可重定位和位置獨立模塊的調試。列表文件在這些類型的程序中,通常從一個地址(通常為0)開始,該地址不是加載地址的位置,因此在在加載的程序中列出地址。偏移寄存器解決了這個問題通過考慮此差異并強制顯示相對地址+偏移量格式的地址。偏移寄存器可調范圍,甚至可能有重疊的范圍。每個偏移的范圍寄存器由兩個地址設置:基址和頂址。指定底部和頂部偏移寄存器的地址設置其范圍。如果地址掉了在兩個或多個偏移寄存器的范圍內,產生最小偏移的是被選中的。端口號一些197Bug命令允許用戶選擇要使用的端口輸入或輸出。可用于這些的有效端口號命令包括:1.MVME197LE EIA-232-D調試(終端端口0或00)(上的端口1)MVME197LE P2連接器)。有時被稱為“控制臺端口”,它是默認情況下用于交互式用戶輸入/輸出。2.MVME197LE EIA-232-D(終端端口1或01)(上的端口2)MVME197LE P2連接器)。有時也稱為“主機端口”,這是下載、上載、并發模式和透明模式。注意:這些邏輯端口號(0和1)顯示在MVME197模塊的引腳為“串行端口1”和分別為“串行端口2”。身體上,他們都是一部分接頭P2的。
Address as a Parameter
Many commands use ADDR as a parameter. The syntax accepted by 197Bug is
similar to the one accepted by the one-line assembler. All control addressing
modes are allowed. An “address + offset register” mode is also provided.
Address Formats
Addresses are entered as a hexadecimal number, e.g., 20000 would correspond
to address $00020000. The address, or starting address of a range, can be
qualified by a suffix of the form ^S, ^s, ^U, or ^u, where S or s defines
Supervisor address space, and U or u defines user address space. The default,
when the qualifier is not specified, is Supervisor.
Once a qualifier has been entered, it remains valid for all addresses entered for
that command sequence, until the 197Bug is re-entered or another qualifier is
provided.Offset Registers
Eight pseudo-registers (Z0-Z7) called offset registers are used to simplify the
debugging of relocatable and position-independent modules. The listing files
in these types of programs usually start at an address (normally 0) that is not
the one at which they are loaded, so it is harder to correlate addresses in the
listing with addresses in the loaded program. The offset registers solve this
problem by taking into account this difference and forcing the display of
addresses in a relative address+offset format. Offset registers have adjustable
ranges and may even have overlapping ranges. The range for each offset
register is set by two addresses: base and top. Specifying the base and top
addresses for an offset register sets its range. In the event that an address falls
in two or more offset registers' ranges, the one that yields the least offset is
chosen.Port Numbers
Some 197Bug commands give the user the option to choose the port to be used
to input or output. Valid port numbers which may be used for these
commands are:
1. MVME197LE EIA-232-D Debug (Terminal Port 0 or 00) (PORT 1 on the
MVME197LE P2 connector). Sometimes known as the “console port”, it is
used for interactive user input/output by default.
2. MVME197LE EIA-232-D (Terminal Port 1 or 01) (PORT 2 on the
MVME197LE P2 connector). Sometimes known as the “host port”, this is
the default for downloading, uploading, concurrent mode, and
transparent modes.
Note These logical port numbers (0 and 1) are shown in the
pinouts of the MVME197 module as “SERIAL PORT 1” and
“SERIAL PORT 2”, respectively. Physically, they are all part
of connector P2.