83:ROMCalls:4036

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: A2PointHLind

BCALL Address: 4036

This routine adds two times A to HL and then jumps to LdHLind. It can be used to get an address from a pointer table.

Inputs

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

Outputs

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