beautypg.com

Figure2.1 overview of assembling scsi scripts, Data structure and type definition – Avago Technologies LSI53C1010 User Manual

Page 35

background image

Assembling SCSI SCRIPTS

2-5

Figure 2.1

Overview of Assembling SCSI SCRIPTS

1.

Write SCSI SCRIPTS source code.

2.

Assemble the source code using the LSI Logic Assembler (NASM).

3.

Write “C” language source code and include assembled SCRIPTS
code.

4.

Compile all code using a “C” compiler.

5.

The result is object (

.obj

) code.

6.

Link all object modules together.

7.

The result is an executable program.

scripts .ss

SCRIPTS

Source Code

LSI Logic

Assembler

program.c

“C” source code

scripts.lis

Cross-Reference

scripts.out

“C” compatible

support.c

C Compiler

Host Linker

program.exe

SCSI Driver

program.obj

support.obj

1.

3.

4.

5.

6.

7.

(NASM)

2.

scripts.obj

File

This manual is related to the following products: