×   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

9267 (PRINT) quote (')

Submitted by Steve Fewell

Description:

This routine is called when a quote character (') is found within a PRINT statement (e.g. "PRINT '").
Call &BA92 to output a new line (OSNEWLINE, &FFE7) and set COUNT (&1E) to zero.
Clear the carry flag, update BASIC Text pointer A to the value of BASIC Text pointer B and exit.


Disassembly for the (PRINT) quote (') routine

9267   032 146 186 20 92 BA JSR &BA92 Output a new line
926A   024 18 CLC
926B   128 008 80 08 BRA 8 --> &9275 PTR A offset = PTR B offset and exit

 


 Back to 8BS
Or