×   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

97E0 CLG

Submitted by Steve Fewell

Description:

Call &9BA6 to check that the BASIC Statement is terminated corectly (Issue 'Syntax' error if not).
Perform the CLG (VDU 16) operation by setting A to 16 and calling &97EE to output the character and then continue
with executing the next statement (&9005).


Disassembly for the CLG routine

97E0   032 166 155 20 A6 9B JSR &9BA6 Check end of Statement
97E3   169 016 A9 10 LDA#&10
97E5   128 007 80 07 BRA 7 --> &97EE Output ASCII Character & process next Statement

 


 Back to 8BS
Or