78.7.2
DUMP: Listing File Contents
The file whose contents are to be listed must first be assigned with the E command.
The addresses, which are implemented in the memory definitions are interpreted as 4-Byte Integers, which define the displacement of the data to be output relative to the beginning of the file. The same applies to the addresses output with the LST command.
When using logical memory definitions, the output is always in bytes. In all other cases the user can choose between output in bytes (BYTE), word output (WORD) or double-length (double-precision) word output.
Command Syntax
•
Output using an Address Symbol
DUMP,ADR,name,output,number;
The number of memory units to be output must be entered in decimal form.
•
Output using a Direct Address (Pointer Offset/Displacement)
DUMP,DA,offset,output,number;
The pointer offset must be entered in hexadecimal form, whereas the number of memory units to be output must be entered in decimal form.
•
Output using a logical Memory Definition
DUMP,LOGNAME,name,indices;
The indices must be entered in decimal form; either linked single values or index ranges are permitted.
Example
It is assumed that the HD saved memory definitions are stored in the file defsav1. The user wants to list the fist two memory definitions.
Input:
*e,:dbdb:els/defsav1;
Output:
DISPLAYER-INPUT IN BPA PLEASE:
Input:
*def,adr,entry_tbl,adr,0-0;
Output:
DISPLAYER-INPUT IN BPA PLEASE:
Input:
*def,logname,entry_tbl,amo,37,1&&2;
Output:
DISPLAYER-INPUT IN BPA PLEASE:
Input:
*dump,logname,entry_tbl,1&&2;
Output:
TABLE: ENTRY_TBL
INDEX: 0000H ADDRESS: 0000H:0000H
CONTENTS HEX (ASCII)
0( 0) 44425F445F43505F 4445565F53544154 DB_D_CP_DEV_STAT
10( 16) 4520202020202020 2020DADEA0340100 E ...4..
20( 32) 0000FF0700 .....
INDEX: 0001H ADDRESS: 0000H:0025H
CONTENTS HEX (ASCII)
0( 0) 44425F445F43505F 4445565F53544154 DB_S_CP_DEV_STAT
10( 16) 5553202020202020 20207051C0340200 US pQ.4..
20( 32) 0000FF0700 .....
DISPLAYER INPUT IN BPA PLEASE:
${DocTitle}
, ID:
${DocID}
©
02/2025
Mitel Networks Corporation. - All rights reserved.
Mitel and the Mitel logo are trademarks of Mitel Networks Corporation. Unify and associated marks are trademarks of Unify Software and Solutions GmbH&Co. KG.
All other trademarks herein are the property of their respective owners.