83Plus:BCALLs:8045

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

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

Synopsis

Official Name: Mult16By8

Other Name: MultAbyDE

BCALL Address: 8045

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

Inputs

  • A = operand 1
  • DE = operand 2

Outputs

  • HL = A * DE

Destroys

  • A, HL, DE

Comments

Simple enough to implement yourself if speed is important.

Example

 ld     a,4
 ld     de,105h
 B_CALL MultAbyDE  ;should return 414h or 1044 decimal