addressed comments

This commit is contained in:
Nicholas Ward 2023-03-14 12:19:13 -07:00
parent 9e7dc7ca79
commit 04f44ef4da

View File

@ -1,7 +1,8 @@
// Arithmetic on little-endian integers represented with 128-bit limbs.
// All integers must be under a given length bound, and are padded with leading zeroes.
// Replaces a with a + b, leaving b unchanged.
// Adds two bignums of the same given length. Assumes that len > 0.
// Replaces a with a + b, leaving b unchanged, and returns the final carry.
global add_bignum:
// stack: len, a_start_loc, b_start_loc, retdest
PUSH 0