Question

Does anyone know how to start a comment (e.g. '#',';', '/', '/*') in ARMv6 Assembly Language?

Was it helpful?

Solution

should be ";" as per some example code i found on the wikipedia article:

    loop  CMP  Ri, Rj   ; set condition "NE" if (i != j),
                        ;               "GT" if (i > j),
                        ;            or "LT" if (i < j)
    SUBGT  Ri, Ri, Rj   ; if "GT" (greater than), i = i-j;
    SUBLT  Rj, Rj, Ri   ; if "LT" (less than), j = j-i;
    BNE  loop           ; if "NE" (not equal), then loop
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top