Question: shellcode_ex.s:12:13: error: immediate expression for mov requires :lower16: or :upper16 movt r2, #size_of_string @ size of string Solution: movs r2, #size_of_string @ size of string 换一条指令就行了.问题不大