1) The classic ‘@‘ comment indicator is not recognized in -arch arm64 mode. Both ‘;‘ and ‘//‘ are permitted. I remembered ‘@‘ was acceptable in armv7 age. So the world changes so fast…

2) As ARM’s instruction reference manual, the instruction ‘movi‘ has a format as

MOVI Vn.<T>, #uimm8{, LSL #shift}

But as reported error if we omitted last part. So to make assembler work, I have to append a ‘LSL #0’ to the end. Feel somewhat stupid, for both the assembler and myself 🙂

1 Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • OK. Tried armv7 again. In armv7 mode, only ‘@’ is permitted. Both ‘;’ and ‘//’ are illegal. Funny apple.