Disassembling a Load File Under UNIX

To disassemble a load under use cutup.c. Begin by compiling the program using your UNIX compiler to make a cutup executable ®le. Then use the following syntax:

cutup<file_extension><file_name><cut_length>

The ®le_extension is attached to the front of each slice needed to cut. The

®le_name is the DOS ®le name of the ®le to be disassembled. The cut_length is the length CUTUP.EXE that is used to disassemble the ®le. The following example illustrates this procedure.

#ls -la total 658

drwxrxrx

2

root

512

Aug

114:41 .

drwxrxrx

26

root

1024

Aug

114:41 ..

drwxrxrx

2

root

24576

Aug

114:41

cutup

drwxrxrr

2

root1022566 Aug

114:41

gw.ldc

#cutup gw.ldc gw 100000

#ls -la

total 658

 

 

 

 

 

 

drwxrxrx

2

root

512

Aug

114:41 .

drwxrxrx

26

root

1024

Aug

114:41 ..

drwxrxrx

2

root

24576

Aug

114:41

cutup

drwxrxrr

2

root1022566 Aug

114:41

gw.ldc

drwxrxrr

2

root1000000 Aug

114:41

gw0

drwxrxrr

2

root

22566

Aug

114:41

gw1

Appendix C. Making a Router Load File from Multiple Disks 679

Page 715
Image 715
IBM SC30-3681-08 manual Disassembling a Load File Under Unix, # ls -la total, # cutup gw.ldc gw # ls -la