beautypg.com

Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual

Page 26

background image

23

The UDD ATAPI command can have one or more additional fields. In the following example, the
UDD ATAPI command has four fields with a specific length.

OperationCode = AddField(CURPOS, 8 , "Operation Code",
"Operation Code", "Operation Code");

LBA = AddField(CURPOS,24,"LBA","LBA","LBA");

TransferLength = AddField(CURPOS, 8, "Transfer Length",
"Transfer Length", "Transfer Length");

Control = AddField(CURPOS, 8, "Control", "Control", "Control");