2 step over, 3 step in, 4 step out – ElmoMC SimplIQ Software Manual User Manual
Page 93
![background image](/manuals/558389/93/background.png)
SimplIQ
Software Manual
Program Development and Execution
MAN-SIMSW (Ver. 1.4)
6-31
6.7.9.2 Step Over
The DB##SO command executes a step over by running to the nearest end of line.
Syntax:
DB##SO[N]
where N is a handle of the specified VAC machine.
This command is implemented inside the
SimplIQ
drive, using the following process:
Save the current base pointer.
Start the loop.
Run to the nearest end of line.
Compare the current base pointer with the saved base pointer.
If both are the same, jump to the end of the loop (step over); otherwise, go to the start of
the loop.
End of loop.
When the nearest end of line is reached, the VAC machine enters the halt state. In case of a
jump, infinite loop or other reason within the line execution, the program may not reach the
end of line and will simply run and not enter the halt state.
6.7.9.3 Step In
The DB##SI command executes a step in by entering a function body and running to the
nearest end of line.
Syntax:
DB##SI[N]
where N is a handle of a specified VAC machine.
This command is implemented inside the
SimplIQ
drive, using the following process:
Start the loop.
Run to the nearest end of line.
End of loop.
When the nearest end of line is reached, the VAC machine enters the halt state.
6.7.9.4 Step Out
The DB##SU command executes a step out, returning from the function body and running
up to the nearest end of line.
Syntax:
DB##SU[N]
where N is a handle of a specified VAC machine.
This command is implemented inside the
SimplIQ
drive, using the following process:
Save the current base pointer.
Start the loop.