no such instruction: movl -12(%rbp),%eax'
/tmp/ccex2exw.s:50: Error: no such instruction: movl %eax,%esi'
/tmp/ccex2exw.s:51: Error: no such instruction: movl $_ZSt4cout,%edi'
/tmp/ccex2exw.s:54: Error: no such instruction: movl $0,%eax'
/tmp/ccex2exw.s:73: Error: no such instruction: movl %edi,-4(%rbp)'
/tmp/ccex2exw.s:74: Error: no such instruction: movl %esi,-8(%rbp)'
/tmp/ccex2exw.s:76: Error: no such instruction: cmpl $1,-4(%rbp)'
/tmp/ccex2exw.s:79: Error: no such instruction: cmpl $65535,-8(%rbp)'
/tmp/ccex2exw.s:83: Error: no such instruction: movl $_ZStL8__ioinit,%edi'
/tmp/ccex2exw.s:85: Error: no such instruction: movl $__dso_handle,%edx'
/tmp/ccex2exw.s:86: Error: no such instruction: movl $_ZStL8__ioinit,%esi'
/tmp/ccex2exw.s:87: Error: no such instruction: movl $_ZNSt8ios_base4InitD1Ev,%edi'
/tmp/ccex2exw.s:109: Error: no such instruction: movl $65535,%esi'
/tmp/ccex2exw.s:110: Error: no such instruction: movl $1,%edi'
Что делать?
Так у тебя синтаксис интела, а код в at&t
Обсуждают сегодня