8-Bit Software

The BBC and Master Computer Public Domain Library

Back to 8BS Or Back to Disassembly

Page Last Altered:

9267 (PRINT) quote (')

Submitted by Steve Fewell


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