beautypg.com

Inserting instructions, Start loop, Loop count – Teledyne LeCroy STX M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 122: End loop, Add a goto

background image

LeCroy Corporation

Exercise and Capture

120

 

 

Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

Inserting Instructions

Instructions are logical program elements that allow the definition of how the
Initiator Emulator program executes. Using instructions, you can define program loops,
make conditional jumps, and insert delays and stops.

To insert an instruction, click a command in the Initiator Emulator program where you
want the instruction inserted, then click the Insert Instruction button, then choose the
instruction to insert.

Figure 2.100: Insert Instructions Dropdown List

Start Loop

Click the command at which to start the loop, and then insert the Loop Start instruction.

Figure 2.101: Start Loop

Loop Count

Enter the number of times to run the loop in the number text box, or click the down
arrow on the Count Drop‐down combo box and choose Infinite.

End Loop

Click the command at which to stop the loop, and then insert the Loop End instruction.

Figure 2.102: End Loop

Add a Goto

To insert an unconditional jump to a previously labeled command, insert a Goto
instruction. Then click the down arrow on the Drop‐down combo box and choose the
label to designate the destination command.