1#Test the special case of the index bits, 0x4, in SIB. 2 3 .text 4 .allow_index_reg 5foo: 6 mov -30,%ebx 7 mov -30(,%riz),%ebx 8 mov -30(,%riz,1),%eax 9 mov -30(,%riz,2),%eax 10 mov -30(,%riz,4),%eax 11 mov -30(,%riz,8),%eax 12 mov 30,%eax 13 mov 30(,%riz),%eax 14 mov 30(,%riz,1),%eax 15 mov 30(,%riz,2),%eax 16 mov 30(,%riz,4),%eax 17 mov 30(,%riz,8),%eax 18 mov (%rbx),%eax 19 mov (%rbx,%riz),%eax 20 mov (%rbx,%riz,1),%eax 21 mov (%rbx,%riz,2),%eax 22 mov (%rbx,%riz,4),%eax 23 mov (%rbx,%riz,8),%eax 24 mov (%rsp),%eax 25 mov (%rsp,%riz),%eax 26 mov (%rsp,%riz,1),%eax 27 mov (%rsp,%riz,2),%eax 28 mov (%rsp,%riz,4),%eax 29 mov (%rsp,%riz,8),%eax 30 mov (%r12),%eax 31 mov (%r12,%riz),%eax 32 mov (%r12,%riz,1),%eax 33 mov (%r12,%riz,2),%eax 34 mov (%r12,%riz,4),%eax 35 mov (%r12,%riz,8),%eax 36 .intel_syntax noprefix 37 mov eax,DWORD PTR [riz*1-30] 38 mov eax,DWORD PTR [riz*2-30] 39 mov eax,DWORD PTR [riz*4-30] 40 mov eax,DWORD PTR [riz*8-30] 41 mov eax,DWORD PTR [riz*1+30] 42 mov eax,DWORD PTR [riz*2+30] 43 mov eax,DWORD PTR [riz*4+30] 44 mov eax,DWORD PTR [riz*8+30] 45 mov eax,DWORD PTR [rbx+riz] 46 mov eax,DWORD PTR [rbx+riz*1] 47 mov eax,DWORD PTR [rbx+riz*2] 48 mov eax,DWORD PTR [rbx+riz*4] 49 mov eax,DWORD PTR [rbx+riz*8] 50 mov eax,DWORD PTR [rsp] 51 mov eax,DWORD PTR [rsp+riz] 52 mov eax,DWORD PTR [rsp+riz*1] 53 mov eax,DWORD PTR [rsp+riz*2] 54 mov eax,DWORD PTR [rsp+riz*4] 55 mov eax,DWORD PTR [rsp+riz*8] 56 mov eax,DWORD PTR [r12] 57 mov eax,DWORD PTR [r12+riz] 58 mov eax,DWORD PTR [r12+riz*1] 59 mov eax,DWORD PTR [r12+riz*2] 60 mov eax,DWORD PTR [r12+riz*4] 61 mov eax,DWORD PTR [r12+riz*8] 62