83Plus:BCALLs:804B
From WikiTI
Synopsis
Official Name: DivHLbyDE
BCALL Address: 804B
Divides register HL by register DE and stores the result in DE.
Inputs
- HL = numerator
- DE = denominator
Outputs
- DE = HL / DE
Destroys
- a, IX, HL, DE
- Contents of memory addresses 8251h - 8253h
Comments
Simple enough to implement yourself if speed is important.
Example
ld hl,206h ld de,103h B_CALL DivHLbyDE ;should return 2