BREAK

Top  Previous  Next

Action

Generates a reserved opcode to pause the simulator.

 

 

Syntax

BREAK

 

 

Remarks

You can set a breakpoint in the simulator but you can also set a breakpoint from code using the BREAK statement.

Be sure to remove the BREAK statements when you debugged your program or use the $NOBREAK directive.

 

The reserved opcode used is A5.

 

 

See also

$NOBREAK

 

 

Example

PRINT "Hello"

BREAK                 'the simulator will pause now

End