Alternative for .string pseudo op?
问题 I am trying to run an assembly file on Mac OS X that uses .string pseudo-ops, which apparently aren't recognized. How should the following lines be replaced so it will work on a mac? ArrayIndexOutOfBoundsException: .long 35 .string "Array index out of bounds exception" The line I am using to execute the assembly file is: gcc -m32 -g3 runtime.c foo.s -o foo Where runtime.c is a file with functions that can be invoked by foo.s program. 回答1: .asciz , or if you don't have that then whatever you