fix divmod; out args are written to and should be potential constants

This commit is contained in:
Irmen de Jong
2024-03-26 21:59:36 +01:00
parent 2a3a27c56d
commit ba1e907c79
6 changed files with 51 additions and 28 deletions

View File

@@ -832,7 +832,7 @@ divmod (dividend, divisor, quotient, remainder)
Performs division only once and returns both quotient and remainder in a single call, where using '/' and '%' separately
would perform the division operation twice.
All values are ubytes or all are uwords.
The last two arguments must be ubyte variables to receive the quotient and remainder results, respectively.
The last two arguments must be variables to receive the quotient and remainder results, respectively.
Array operations