Difference between revisions of "83:ROMCalls:403A"

From WikiTI
Jump to: navigation, search
 
(No difference)

Latest revision as of 13:10, 13 April 2005

Synopsis

Official Name: PointHLind

BCALL Address: 403A

This routine adds A to HL and then jumps to LdHLind. It can be used to get a value from a lookup table.

Inputs

  • hl = lookup table base
  • a = entry in table to grab

Outputs

  • hl = (hl+a)
  • a = (hl+a)
  • de = a
  • bc preserved
  • f destroyed