Difference between revisions of "83:ROMCalls:4000"

From WikiTI
Jump to: navigation, search
 
m (Added to utility category)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
[[Category:83:ROMCalls:By_Name:Utility|LdHLInd]][[Category:83:ROMCalls:By_Name|LdHLInd]][[Category:83:ROMCalls:By_Address|4000 - LdHLInd]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' LdHLInd
 
'''Official Name:''' LdHLInd
  
'''BCALL Address:''' 4000
+
'''Call Address:''' 4000
  
 
Stores the value at (HL) to register HL.
 
Stores the value at (HL) to register HL.
Line 17: Line 18:
 
== Comments ==
 
== Comments ==
 
Useful utility call.  Equivilant code located in example.
 
Useful utility call.  Equivilant code located in example.
 +
 +
This call calls the address 0033h on every known version of the TI-83 ROM.
  
 
== Example ==
 
== Example ==

Latest revision as of 13:15, 13 April 2005

Synopsis

Official Name: LdHLInd

Call Address: 4000

Stores the value at (HL) to register HL.

Inputs

  • HL: pointer to bytes to load

Outputs

  • HL: value located at input (HL)

Registers Destroyed

  • AF

Comments

Useful utility call. Equivilant code located in example.

This call calls the address 0033h on every known version of the TI-83 ROM.

Example

LdHLInd:
 ld a,(hl)
 inc hl
 ld h,(hl)
 ld l,a
 ret