Avago Technologies LSI53C1010 User Manual
Programming guide, Scsi scripts™ processors
This manual is related to the following products:
Table of contents
Document Outline
- SCSI SCRIPTS™ Processors
- Chapter1 Using the Programming Guide
- Chapter2 Programming with SCRIPTS
- Chapter3 The SCSI SCRIPTS Processor Instruction Set
- 3.1 Overview of SCRIPTS Instructions
- 3.2 Instruction Descriptions
- Table 3.3 SCRIPTS Instructions Set
- 3.2.1 CALL
- 3.2.2 CHMOV
- 3.2.3 CLEAR
- 3.2.4 DISCONNECT
- 3.2.5 INT
- 3.2.6 INTFLY
- 3.2.7 JUMP
- 3.2.8 JUMP 64
- 3.2.9 LOAD
- 3.2.10 LOAD64
- 3.2.11 MOVE
- 3.2.12 MOVE MEMORY
- 3.2.13 MOVE REGISTER
- 3.2.14 NOP
- 3.2.15 RESELECT
- 3.2.16 RETURN
- 3.2.17 SELECT
- 3.2.18 SET
- 3.2.19 STORE
- 3.2.20 WAIT DISCONNECT
- 3.2.21 WAIT SELECT
- 3.2.22 WAIT RESELECT
- 3.3 Instruction Examples
- Chapter4 Using the LSI Logic Assembler NASM™
- Chapter5 The NASM Output File
- Chapter6 Using the Registers to Control Chip Operations
- Chapter7 Integrating SCRIPTS Programs into “C” Language Drivers
- Chapter8 Writing Device Drivers with SCRIPTS
- Chapter9 SCRIPTS Programming Topics
- 9.1 Scatter/Gather Operations
- 9.2 Loopback Mode
- 9.3 Byte Recovery on Target Disconnect
- 9.4 Synchronous Negotiation and Transfer
- 9.5 Interrupt Handling
- 9.6 Migrating Existing Software to Ultra, Ultra2, and Ultra3 SCSI
- 9.7 Using the SCRIPTS RAM
- Chapter10 Multithreaded I/O
- 10.1 Overview
- 10.2 Multithreaded Operations Flow
- 10.3 SCRIPTS Areas
- 10.4 Multithreaded SCRIPTS Example
- Figure10.3 Multithreaded SCRIPTS Example Step 1
- Figure10.4 Multithreaded SCRIPTS Example Step 2
- Figure10.5 Multithreaded SCRIPTS Example Step 3
- Figure10.6 Multithreaded SCRIPTS Example Step 6
- Figure10.7 Multithreaded SCRIPTS Example Step 10
- Figure10.8 Multithreaded SCRIPTS Example Step 11
- Figure10.9 Multithreaded SCRIPTS Example Step 13
- 10.5 Using the SIGP Bit to Abort an Instruction
- 10.6 I/O Completion
- Chapter11 Using the SCRIPTS Processor in Target Applications
- 11.1 SCSI and Target SCRIPTS Protocol
- 11.2 Registers Used for Target Operation
- 11.3 Using SCRIPTS for Target Operation
- 11.3.1 Sample Target Operation SCRIPTS Program
- Figure11.1 SCRIPTS Source Code–Comments
- Figure11.2 SCRIPTS Source Code–ABSOLUTE Declarations
- Figure11.3 SCRIPTS Source Code–EXTERN Variables
- Figure11.4 SCRIPTS Source Code–TABLE
- Figure11.5 SCRIPTS Source Code–ENTRY Declarations
- Figure11.6 SCRIPTS Source Code–wait_select Label
- Figure11.7 SCRIPTS Source Code–CDB Functions
- Figure11.8 SCRIPTS Source Code–Message Out Phase
- Figure11.9 SCRIPTS Source Code–Extended Message
- Figure11.10 SCRIPTS Source Code–Synchronous Negotiation
- Figure11.11 SCRIPTS Source Code–Wide Negotiation
- Figure11.12 SCRIPTS Source Code–Return Negotiation
- Figure11.13 SCRIPTS Source Code–Recovery Message
- Figure11.14 SCRIPTS Source Code–Test Unit Ready
- Figure11.15 SCRIPTS Source Code–stopped_busy_tur Command
- Figure11.16 SCRIPTS Source Code–Request Sense
- Figure11.17 SCRIPTS Source Code–Read Label
- Figure11.18 SCRIPTS Source Code–read_disconnect Label
- Figure11.19 SCRIPTS Source Code–read_reconnect Label
- Figure11.20 SCRIPTS Source Code–Write
- Figure11.21 SCRIPTS Source Code–write_disconnect Label
- Figure11.22 SCRIPTS Source Code–write_reconnect Label
- Figure11.23 SCRIPTS Source Code–reserve_unit Label
- Figure11.24 SCRIPTS Source Code–release_unit Command
- Figure11.25 SCRIPTS Source Code–abort Label
- Figure11.26 SCRIPTS Source Code–stopped_busy_wait_select Command
- 11.3.1 Sample Target Operation SCRIPTS Program
- 11.4 Synchronous Negotiation by a Target Device
- Chapter12 Debugging the SCRIPTS Processor
- Chapter13 New SCRIPTS Processor Features
- 13.1 Improved FIFO Flushing
- 13.2 Larger FIFO
- 13.3 New ISTAT Registers
- 13.4 New Scratch Registers
- 13.5 New Load/Store Feature
- 13.6 Phase Mismatch Handling
- 13.7 64-Bit SCRIPTS Addressing
- AppendixA NASM Error Messages
- AppendixB Multithreaded SCRIPTS Example
- AppendixC Glossary of Terms and Abbreviations
- Index
- Customer Feedback