1.syntax unified 2.thumb 3ldmstm_bad: 4 @ UNPREDICTABLE Thumb-2 encodings of LDM/LDMIA/LDMFD as specified 5 @ by section A8.6.53 of the ARMARM. 6 ldmia r15, {r0-r3} @ Encoding T2, UNPREDICTABLE 7 ldmia r15!, {r0-r3} @ Encoding T2, UNPREDICTABLE 8 ldmia r1, {r14, r15} @ Encoding T2, UNPREDICTABLE 9 ldmia r0!, {r0-r3} @ Encoding T2, UNPREDICTABLE 10 11 itt eq 12 ldmiaeq r0, {r12, r15} @ Encoding T2, UNPREDICTABLE 13 ldmiaeq r0!, {r0, r1} @ Encoding T2, UNPREDICTABLE 14 15 @ UNPREDICTABLE Thumb-2 encodings of STM/STMIA/STMEA as specified 16 @ by section A8.6.189 of the ARMARM. 17 stmia.w r0!, {r0-r3} @ Encoding T2, UNPREDICTABLE 18 stmia r1!, {r0-r3} @ Encoding T1, r1 is UNKNOWN 19 stmia r15!, {r0-r3} @ Encoding T2, UNPREDICTABLE 20 stmia r15, {r0-r3} @ Encoding T2, UNPREDICTABLE 21 stmia r8!, {r0-r11} @ Encoding T2, UNPREDICTABLE 22 23 @ The following are technically UNDEFINED, but gas converts them to 24 @ an equivalent, and well-defined instruction automatically. 25 @stmia.w r0!, {r1} @ str.w r1, [r0], #4 26 @stmia r8!, {r9} @ str.w r9, [r8], #4 27 @stmia r8, {r9} @ str.w r9, [r8] 28 @ldmia.w r0!, {r1} @ ldr.w r1, [r0], #4 29 @ldmia r8!, {r9} @ ldr.w r9, [r8], #4 30 @ldmia r8, {r9} @ ldr.w r9, [r8] 31