![HP nld Скачать руководство пользователя страница 311](http://html.mh-extra.com/html/hp/nld/nld_manual_165146311.webp)
Sample nld and noft Session
nld and noft Manual — 520384-003
A -25
DUMPPROC
It is often easier to figure out what the executable code is doing when you can see its
source code. If the source file is available, changing the setting of
FORMAT
to
INNERLIST
can change the output display of
DUMPPROC
,
DUMPADDRESS
, and
DUMPOFFSET
options.
Example A-33
shows how the
SET FORMAT INNERLIST
option
affects the
DUMPPROC
option used in
Example A-32
on page A-24, which
Example A-33
re-executes by means of the
FC
option.
Example A-33. Effect of SET FORMAT INNERLIST on DUMPPROC
Option
(page 1 of 2)
noft> SET FORMAT INNERLIST
Formatting : Innerlist
noft> FC DUMP
10> DUMPPROC delete_passengers
10..
******** Innerlist Dump Of Procedure: delete_passengers ********
Procedure Src Line Address Long Word Instructions
-------------------------------------------------------------------------
Source File: \DLLQA.$D0117.CRGMAN.MODULE2C
12 void delete_passengers(long bus_stop)
[delete_passengers 12000] 0x7000062c 0x27bdffd8 addiu sp,sp,0xffffffd8
[delete_passengers 12000] 0x70000630 0xafbf001c sw ra,0x1c(sp)
[delete_passengers 12000] 0x70000634 0xafa40028 sw a0,0x28(sp)
[delete_passengers 12000] 0x70000638 0xafb00018 sw s0,0x18(sp)
16 passengers_leaving = 0x7F & rand();
[delete_passengers 16000] 0x7000063c 0x0e7f81f4 jal 0x79fe07d0
[delete_passengers 16000] 0x70000640 0000000000 nop
[delete_passengers 16000] 0x70000644 0x00408025 move s0,v0
[delete_passengers 16000] 0x70000648 0x320e007f andi t6,s0,0x7f
[delete_passengers 16000] 0x7000064c 0xafae0024 sw t6,0x24(sp)
16.01 while (passengers_leaving > passengers_on_bus)
[delete_passengers 16010] 0x70000650 0x8faf0024 lw t7,0x24(sp)
[delete_passengers 16010] 0x70000654 0x3c010800 lui at,0x800
[delete_passengers 16010] 0x70000658 0x8c380000 lw t8,0(at)
[delete_passengers 16010] 0x7000065c 0000000000 nop
[delete_passengers 16010] 0x70000660 0x030f082a slt at,t8,t7
[delete_passengers 16010] 0x70000664 0x1020000c beq at,zero,0x70000698
[delete_passengers 16010] 0x70000668 0000000000 nop
16.1 passengers_leaving = 0x7F & rand();
[delete_passengers 16100] 0x7000066c 0x0e7f81f4 jal 0x79fe07ds0
[delete_passengers 16100] 0x70000670 0000000000 nop
[delete_passengers 16100] 0x70000674 0x00408025 move s0,v0
[delete_passengers 16100] 0x70000678 0x3219007f andi t9,s0,0x7f
[delete_passengers 16100] 0x7000067c 0xafb90024 sw t9,0x24(sp)
[delete_passengers 16100] 0x70000680 0x3c010800 lui at,0x800
[delete_passengers 16100] 0x70000684 0x8c280000 lw t0,0(at)
[delete_passengers 16100] 0x70000688 0000000000 nop
[delete_passengers 16100] 0x7000068c 0x0119082a slt at,t0,t9
[delete_passengers 16100] 0x70000690 0x1420fff6 bne at,zero,0x7000066c
Содержание nld
Страница 12: ...Contents nld and noft Manual 520384 003 x ...
Страница 16: ...What s New in This Manual nld and noft Manual 520384 003 xiv Miscellaneous ...
Страница 22: ...About This Manual nld and noft Manual 520384 003 xx Change Bar Notation ...
Страница 28: ...Introduction to the Utilities nld and noft Manual 520384 003 1 6 strip ...
Страница 60: ...nld Utility nld and noft Manual 520384 003 2 32 Declaration and Definition ...
Страница 78: ...nld Options nld and noft Manual 520384 003 3 18 y ...
Страница 90: ...noft Utility nld and noft Manual 520384 003 4 12 Debugging With noft ...
Страница 150: ...strip Utility nld and noft Manual 520384 003 7 2 ...
Страница 160: ...Converting From Binder to nld and noft nld and noft Manual 520384 003 9 8 Comparing Binder Commands to noft Options ...
Страница 242: ...nld Diagnostic Messages nld and noft Manual 520384 003 10 82 Informational Messages ...
Страница 278: ...noft Diagnostic Messages nld and noft Manual 520384 003 11 36 Syntax Errors ...
Страница 286: ...ar Diagnostic Messages nld and noft Manual 520384 003 12 8 ...
Страница 314: ...Sample nld and noft Session nld and noft Manual 520384 003 A 28 LISTSRLFIXUPS ...
Страница 330: ...Index nld and noft Manual 520384 003 Index 10 Special Characters ...