83:ROMCalls:4036

From WikiTI
Revision as of 14:11, 13 April 2005 by Kalimero (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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