3

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

turbo
  • 1,233
  • 14
  • 36
S.E. Foulk
  • 111
  • 1
  • 9

1 Answers1

3

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
Alex Lynch
  • 951
  • 5
  • 11