×   Main Menu ALL The 8BS News Manuals (New menu) Links Worth a Look Tools Disc and Basic Webring Site Map 8BS Guestbook Old Guest Book Me The Barnsley Rovers   
8-Bit Software

The BBC and Master Computer Public Domain Library

8F25 END

Submitted by Steve Fewell

Description:

Call routine &9BA6 to check that the statement terminates correctly with a ':', '<cr>' or 'ELSE-token' character
(if not, a 'Syntax error' is issued).
Call routine &BDE5 to check that the program can be read correctly (display a 'Bad program' message if it cannot be
read through correctly - i.e. the lines do not terminate with a '<cr>' character

Jump to &8F86 to prompt for (and execute) the user command line input. Note: when command line input is being processed
BASIC no longer recognises that a program is/was running until a 'RUN' command is entered.


Disassembly for the END routine

8F25   032 166 155 20 A6 9B JSR &9BA6 Check end of Statement
8F28   032 229 189 20 E5 BD JSR &BDE5 Check program can be read correctly ('Bad program' message if not)
8F2B Y 128 089 80 59 BRA 89 --> &8F86 Read & execute command line input

 


 Back to 8BS
Or