83Plus:BCALLs:8042

From WikiTI
Revision as of 20:50, 29 March 2005 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: Mult8By8

Other Name: MultAbyE

BCALL Address: 8042

Multiplies register A by register E and stores the result in register HL.

Inputs

  • a = operand 1
  • e = operand 2

Outputs

  • HL = a * e

Destroys

  • A, HL, DE

Comments

Simple enough to implement yourself if speed is important.

Example

 ld     a,4
 ld     e,5
 B_CALL MultAbyE  ;should return 14h or 20 decimal