Adjusted div documentation
This commit is contained in:
+3
-1
@@ -1,7 +1,7 @@
|
|||||||
include errno
|
include errno
|
||||||
|
|
||||||
; (uint32_t, uint32_t) div(uint32_t, uint32_t);
|
; (uint32_t, uint32_t) div(uint32_t, uint32_t);
|
||||||
; Divides two integers.
|
; Divides two unsigned 32 bit integers.
|
||||||
;
|
;
|
||||||
; Arguments:
|
; Arguments:
|
||||||
; - r1: Dividend
|
; - r1: Dividend
|
||||||
@@ -9,6 +9,8 @@ include errno
|
|||||||
; Results:
|
; Results:
|
||||||
; - r1: Quotient
|
; - r1: Quotient
|
||||||
; - r2: Remainder
|
; - r2: Remainder
|
||||||
|
; Clobbers:
|
||||||
|
; - r1 - r4
|
||||||
; Errors:
|
; Errors:
|
||||||
; - `ERR_DIV_BY_ZERO`: The divisor was `0`.
|
; - `ERR_DIV_BY_ZERO`: The divisor was `0`.
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user