diff src/math.inc @ 643:7d8a4c60ec1a

3.15 release
author heinrichsweikamp
date Mon, 24 May 2021 18:40:53 +0200
parents 4050675965ea
children 75e90cd0c2c3
line wrap: on
line diff
--- a/src/math.inc	Thu Jan 14 16:24:07 2021 +0100
+++ b/src/math.inc	Mon May 24 18:40:53 2021 +0200
@@ -90,12 +90,31 @@
 ;
 	extern	isr_unsigned_mult16x16	; isr_xC = isr_xA * isr_xB
 									; trashes PRODL, PRODH, WREG
-
-
+;-----------------------------------------------------------------------------
+; MULTIPLICATION with UNSIGNED values
+;
+	extern	isr_unsigned_mult24x24	; isr_xC = isr_xA * isr_xB
+									; trashes PRODL, PRODH, WREG
+	extern	isr_unsigned_mult32x24	; isr_xC = isr_xA * isr_xB
+									; trashes PRODL, PRODH, WREG
+									
 ;-----------------------------------------------------------------------------
 ; MULTIPLICATION with SIGNED   values
 ;
 	extern	isr_signed_mult16x16	; isr_xC = isr_xA * isr_xB
 									; trashes PRODL, PRODH, WREG
+										
+	extern	isr_signed_mult24x24
 
-;-----------------------------------------------------------------------------
\ No newline at end of file
+;-----------------------------------------------------------------------------
+									
+; DIVISION       with UNSIGNED values
+;
+	extern	isr_div16x16				; isr_xC:2 = isr_xA:2 / isr_xB:2 with isr_xA as remainder
+									; trashes xB, WREG
+
+;-----------------------------------------------------------------------------
+; DIVISION       with UNSIGNED values
+;
+
+	extern	isr_div32x16				; isr_xC:4 = isr_xC:4 / isr_xB:2 with isr_xA as remainder