Difference between revisions of "83Plus:BCALLs:4B73"

From WikiTI
Jump to: navigation, search
m (filled in what a is)
Line 4: Line 4:
 
'''BCALL Address:''' 4B73
 
'''BCALL Address:''' 4B73
  
Fetches the next byte the (basic)parser would parse and increment the pointer to the next byte by one.
+
Fetches the next byte the BASIC parser would read and increments the pointer to the next byte by one.
  
 
=== Inputs ===
 
=== Inputs ===
Line 11: Line 11:
 
=== Outputs ===
 
=== Outputs ===
 
* [[83Plus:RAM:8478|NextParseByte]]: Pointer incremented by one.
 
* [[83Plus:RAM:8478|NextParseByte]]: Pointer incremented by one.
* A: The byte NextParseByte was pointing to.
+
* A: The byte NextParseByte is now pointing to.
 +
* Carry flag set if you're at the end of the program.
  
 
=== Destroys ===
 
=== Destroys ===
Line 17: Line 18:
  
 
== Comments ==
 
== Comments ==
This B_CALL fetches the next byte the parser hasn't parsed yet and sets the pointer to the next byte that should be parsed one forward. It is used internally in the parser and is usefull inside the parserhook(ADD LINK).
+
This B_CALL fetches the next byte the parser hasn't parsed yet and sets the pointer to the next byte that should be parsed one forward. It is used internally in the parser and is useful inside the [[83Plus:Hooks:9BAC|parser hook]].

Revision as of 20:27, 27 March 2005

Synopsis

Official Name: IncFetch

BCALL Address: 4B73

Fetches the next byte the BASIC parser would read and increments the pointer to the next byte by one.

Inputs

Outputs

  • NextParseByte: Pointer incremented by one.
  • A: The byte NextParseByte is now pointing to.
  • Carry flag set if you're at the end of the program.

Destroys

  • BC, HL

Comments

This B_CALL fetches the next byte the parser hasn't parsed yet and sets the pointer to the next byte that should be parsed one forward. It is used internally in the parser and is useful inside the parser hook.