nextdig: XOR %edx,%edx DIV %ebx ADDB $dig0,%dl MOVB %dl,(%edi) # CMPL $0,%eax # JZ empty DEC %edi LOOP nextdig