2 step over, 3 step in, 4 step out – ElmoMC SimplIQ Software Manual User Manual

Page 93

Advertising
background image

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.

Advertising