Difference between revisions of "83Plus:BCALLs:8051"
From WikiTI
m |
|||
Line 1: | Line 1: | ||
− | [[Category:83Plus:BCALLs:By Name:Memory | + | [[Category:83Plus:BCALLs:By Name:Memory|LoadAIndPaged]] [[Category:83Plus:BCALLs:By Name|LoadAIndPaged]] [[Category:83Plus:BCALLs:By Address|8051 - LoadAIndPaged]] |
== Synopsis == | == Synopsis == | ||
'''Official Name:''' LoadAIndPaged | '''Official Name:''' LoadAIndPaged |
Revision as of 18:03, 30 March 2005
Synopsis
Official Name: LoadAIndPaged
BCALL Address: 8051
Reads a byte into register A on page A at address HL.
Inputs
- A = page
- HL = address
Outputs
- A = byte read
Destroys
- All registers preserved
- Destroys contents of memory at 8100 (ramCode)
Comments
Simple enough to implement yourself if speed is important.
Example
ld a,0 ld hl,4000 B_CALL LoadAIndPaged ;should return a=DB (at least on OS version 1.18)