beautypg.com

Asl manual, Introduction, About asl – Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual

Page 4: Bout

background image

1

ASL Manual

This manual describes Advanced Script Language (ASL) for defining protocol decodes. It has
sample code, documentation, and examples.

Introduction

ASL enables you to extract and interpret arbitrary data by creating custom scripts. ASL protocol
decodes can decode any class or vendor-specific requests and descriptors, protocols, and any
structured data.

You can write decode script files in any text editor. You save a script file with an *.asl file extension.

Whenever you write a script with Advanced Script Language, it is equivalent to decoding protocols
with a language like Visual C++. But learning and using Advanced Script Language helps you
decode protocols faster and easier.

About ASL


This manual teaches you to define a program for decoding protocol data with ASL. You can use this
script for defining any decoding. This script has functionality of a simple programming language, so
you can define format of protocols by introducing fields and their attributes: Name, Start bit, Length,
MSB order, and description for each field.

For defining a decoding format, you must write a program with Advanced Script Language.

The grammar of ASL follows the next section.