* device/lib/gbz80/crt0.s,
[fw/sdcc] / device / lib / gbz80 / mul.s
index 0cac8db0eabaf5ac46206bbcd0f0e54b4b831f7b..5e34c7602a80f9a8b6a845f93fea298c7689eda6 100644 (file)
@@ -1,6 +1,6 @@
-       ;; Originally from GBDK by Pascal Felber.
+        ;; Originally from GBDK by Pascal Felber.
 
-       .area   CODE
+        .area   _CODE
 
 __mulschar_rrx_s::
         ld      hl,#2
@@ -60,21 +60,21 @@ __mulint_rrx_s::
 
 __muluchar_rrx_hds::
 __mulint_rrx_hds::
-       ;; Parameters:
-       ;;      HL, DE (left, right irrelivent)
-       ld      b,h
-       ld      c,l
-
-       ;; 16-bit multiplication
-       ;;
-       ;; Entry conditions
-       ;;   BC = multiplicand
-       ;;   DE = multiplier
-       ;;
-       ;; Exit conditions
-       ;;   DE = less significant word of product
-       ;;
-       ;; Register used: AF,BC,DE,HL
+        ;; Parameters:
+        ;;      HL, DE (left, right irrelivent)
+        ld      b,h
+        ld      c,l
+
+        ;; 16-bit multiplication
+        ;;
+        ;; Entry conditions
+        ;;   BC = multiplicand
+        ;;   DE = multiplier
+        ;;
+        ;; Exit conditions
+        ;;   DE = less significant word of product
+        ;;
+        ;; Register used: AF,BC,DE,HL
 .mul16:
         ld      hl,#0
         ld      a,b