83:ROMCalls:403A

From WikiTI
Jump to: navigation, search

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