Difference between revisions of "83Plus:BCALLs:8045"

From WikiTI
Jump to: navigation, search
 
m (Official name.)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:Math|MultAbyDE]]
+
[[Category:83Plus:BCALLs:By Name:Math|Mult16By8]]
[[Category:83Plus:BCALLs:By Name|MultAbyDE]]
+
[[Category:83Plus:BCALLs:By Name|Mult16By8]]
[[Category:83Plus:BCALLs:By Address|8045 - MultAbyDE]]
+
[[Category:83Plus:BCALLs:By Address|8045 - Mult16By8]]
 
== Synopsis ==
 
== Synopsis ==
'''Official Name:''' MultAbyDE
+
'''Official Name:''' Mult16By8
 +
 
 +
'''Other Name:''' MultAbyDE
  
 
'''BCALL Address:''' 8045
 
'''BCALL Address:''' 8045

Revision as of 22:38, 28 March 2005

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