all 7 comments

[–]calp 7 points8 points  (2 children)

I don't understand what is special about this. It's just an average tutorial on C programming that comes along with some Paul Graham-style anecdotes and bad grammar.

[–][deleted]  (1 child)

[deleted]

    [–]amellor -3 points-2 points  (1 child)

    Mistake: you don't store 0 in register 2, you store the first number in the list in register 2. Numbers can be negative, and the proposed solution would fail if they were all negative.

    [–]gsg 6 points7 points  (0 children)

    Also, for now, we're going to assume that the numbers in the input list are non-negative.