Difference between revisions of "83Plus:BCALLs:4B73"
From WikiTI
m |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:83Plus:BCALLs:By Name:Parser|IncFetch]] [[Category:83Plus:BCALLs:By Name|IncFetch]] [[Category:83Plus:BCALLs:By Address|4B73 - IncFetch]] | ||
== Synopsis == | == Synopsis == | ||
'''Official Name:''' IncFetch | '''Official Name:''' IncFetch | ||
Line 4: | Line 5: | ||
'''BCALL Address:''' 4B73 | '''BCALL Address:''' 4B73 | ||
− | Fetches the next byte the | + | Fetches the next byte the BASIC parser would read and increments the pointer to the next byte by one. |
=== Inputs === | === Inputs === | ||
Line 10: | Line 11: | ||
=== Outputs === | === Outputs === | ||
− | * [[83Plus:RAM: | + | * [[83Plus:RAM:965D|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 === | === Destroys === | ||
− | + | * BC, HL | |
== 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 | + | 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]]. |
Latest revision as of 20:47, 29 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
- NextParseByte: Pointer to the byte to fetch
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.