8-Bit Software

The BBC and Master Computer Public Domain Library

Back to 8BS Or Back to Disassembly


Page Last Altered:

9086 STOP

Submitted by Steve Fewell

Description:

Calls 9BA6 to check that the BASIC statement is correct and ends correctly
Syntax Error is given if anything else is found on the line after the STOP keyword.

Issues the STOP error [BRK]. The BASIC error handler will stop the program
running and perform other functions required after an error is generated.


Disassembly for the STOP routine

9086   032 166 155 20 A6 9B JSR &9BA6 Check end of Statement
9089   000 00 ... STOP error

 


 Back to 8BS
Or