Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: invalid instruction mnemonic 'movzb' #14

Open
choleraehyq opened this issue Oct 24, 2018 · 1 comment
Open

error: invalid instruction mnemonic 'movzb' #14

choleraehyq opened this issue Oct 24, 2018 · 1 comment

Comments

@choleraehyq
Copy link

Simply run make test

./9cc -test
tmp-test1.s:1318:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\0\'\000"
               ^
tmp-test1.s:1324:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\0\'\000"
               ^
tmp-test1.s:1330:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\00\'\000"
               ^
tmp-test1.s:1336:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\00\'\000"
               ^
tmp-test1.s:1342:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\000\'\000"
               ^
tmp-test1.s:1348:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\000\'\000"
               ^
tmp-test1.s:1354:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\1\'\000"
               ^
tmp-test1.s:1360:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\1\'\000"
               ^
tmp-test1.s:1366:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\7\'\000"
               ^
tmp-test1.s:1372:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\7\'\000"
               ^
tmp-test1.s:1378:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\100\'\000"
               ^
tmp-test1.s:1384:9: error: invalid escape sequence (unrecognized character) in '.ascii' directive
        .ascii "\'\\100\'\000"
               ^
tmp-test1.s:2506:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:2579:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:2652:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:2725:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:2798:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:2874:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:2955:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3041:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3120:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3204:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3288:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3409:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3484:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3569:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3657:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3743:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3831:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:3919:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4000:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4079:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4167:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4250:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4343:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:4436:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4526:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4616:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4706:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4796:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4886:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:4976:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5066:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5135:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5142:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5213:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5220:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5291:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5298:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5369:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5376:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5447:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5454:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5525:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5532:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5603:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5610:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5681:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5688:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5759:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5766:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5837:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5844:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5915:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:5922:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:5993:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6000:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6071:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6078:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6149:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6156:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6227:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6234:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6305:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6312:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6389:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6466:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6545:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6624:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6703:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6774:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6781:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6852:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:6859:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:6938:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7017:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7109:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7196:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7288:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7375:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7462:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7547:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7620:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7696:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7772:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7848:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:7924:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8000:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8076:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8152:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8231:2: error: invalid instruction mnemonic 'movzb'
        movzb r12, r12b
        ^~~~~
tmp-test1.s:8255:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8358:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8463:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8542:2: error: invalid instruction mnemonic 'movzb'
        movzb r12, r12b
        ^~~~~
tmp-test1.s:8568:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8647:2: error: invalid instruction mnemonic 'movzb'
        movzb r13, r13b
        ^~~~~
tmp-test1.s:8677:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8756:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8789:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:8866:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:8896:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:8909:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9015:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:9028:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9116:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:9146:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:9159:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9261:2: error: invalid instruction mnemonic 'movzb'
        movzb r12, r12b
        ^~~~~
tmp-test1.s:9287:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9358:2: error: invalid instruction mnemonic 'movzb'
        movzb r13, r13b
        ^~~~~
tmp-test1.s:9372:2: error: invalid instruction mnemonic 'movzb'
        movzb r13, r13b
        ^~~~~
tmp-test1.s:9386:2: error: invalid instruction mnemonic 'movzb'
        movzb r14, r14b
        ^~~~~
tmp-test1.s:9399:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9483:2: error: invalid instruction mnemonic 'movzb'
        movzb r13, r13b
        ^~~~~
tmp-test1.s:9497:2: error: invalid instruction mnemonic 'movzb'
        movzb r13, r13b
        ^~~~~
tmp-test1.s:9511:2: error: invalid instruction mnemonic 'movzb'
        movzb r14, r14b
        ^~~~~
tmp-test1.s:9524:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9602:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9616:2: error: invalid instruction mnemonic 'movzb'
        movzb r12, r12b
        ^~~~~
tmp-test1.s:9722:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9803:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9903:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:9976:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10095:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10214:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10333:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10452:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10541:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10663:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10778:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10851:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10924:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:10997:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11070:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11143:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11216:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11289:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11362:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11435:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11508:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11581:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11654:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11725:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:11732:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11824:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11897:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:11970:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12043:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12116:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12189:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12262:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12338:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12345:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12421:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12428:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12504:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12511:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12587:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12594:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12670:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12677:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12753:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12760:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12840:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12847:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:12927:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:12934:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13014:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:13021:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13101:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:13108:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13185:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13259:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13336:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13409:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13525:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13607:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13680:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13753:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13826:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13909:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:13992:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:14006:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14093:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:14108:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14195:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:14210:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14283:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14439:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14514:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14589:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14662:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14753:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14845:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:14937:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15026:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15115:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15205:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15295:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15400:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15487:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15576:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15651:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15722:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:15729:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15827:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:15838:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15847:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:15918:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:15923:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:15930:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16001:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16006:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16013:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16084:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16089:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16096:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16167:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16172:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16179:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16252:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16257:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16264:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16340:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16345:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16352:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16423:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16428:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16433:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16438:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16445:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16516:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16521:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16526:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16531:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16538:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16609:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16614:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16619:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16626:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16697:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16702:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16707:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16714:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16788:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16793:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16803:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:16877:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16882:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
tmp-test1.s:16892:2: error: invalid instruction mnemonic 'movzb'
        movzb rbx, bl
        ^~~~~
tmp-test1.s:17352:2: error: invalid instruction mnemonic 'movzb'
        movzb r11, r11b
        ^~~~~
make: *** [test] Error 1

macos 10.14, gcc 8.2.0

@toasa
Copy link

toasa commented Nov 8, 2018

I also had same error in my mac(macos 10.14, gcc 4.2.1($ gcc -dumpversion)).
Currently I solved this error to rewrite lower right notation.

'movzb' -> 'movzx'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants