2011-07-14 02:49:30 +08:00
|
|
|
@ RUN: not llvm-mc -triple=armv7-apple-darwin < %s 2> %t
|
2015-10-28 21:58:36 +08:00
|
|
|
@ RUN: FileCheck --check-prefix=CHECK-ERRORS --check-prefix=CHECK-ERRORS-V7 < %t %s
|
2013-09-05 22:14:19 +08:00
|
|
|
@ RUN: not llvm-mc -triple=armv8 < %s 2> %t
|
2015-10-28 21:58:36 +08:00
|
|
|
@ RUN: FileCheck --check-prefix=CHECK-ERRORS --check-prefix=CHECK-ERRORS-V8 < %t %s
|
2011-07-14 02:49:30 +08:00
|
|
|
|
|
|
|
@ Check for various assembly diagnostic messages on invalid input.
|
|
|
|
|
2011-07-15 06:04:21 +08:00
|
|
|
@ 's' bit on an instruction that can't accept it.
|
|
|
|
mlss r1, r2, r3, r4
|
|
|
|
@ CHECK-ERRORS: error: instruction 'mls' can not set flags,
|
|
|
|
@ CHECK-ERRORS: but 's' suffix specified
|
|
|
|
|
|
|
|
|
2011-07-14 02:49:30 +08:00
|
|
|
@ Out of range shift immediate values.
|
|
|
|
adc r1, r2, r3, lsl #invalid
|
|
|
|
adc r4, r5, r6, lsl #-1
|
|
|
|
adc r4, r5, r6, lsl #32
|
|
|
|
adc r4, r5, r6, lsr #-1
|
|
|
|
adc r4, r5, r6, lsr #33
|
|
|
|
adc r4, r5, r6, asr #-1
|
|
|
|
adc r4, r5, r6, asr #33
|
|
|
|
adc r4, r5, r6, ror #-1
|
|
|
|
adc r4, r5, r6, ror #32
|
|
|
|
|
|
|
|
@ CHECK-ERRORS: error: invalid immediate shift value
|
|
|
|
@ CHECK-ERRORS: adc r1, r2, r3, lsl #invalid
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, lsl #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, lsl #32
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, lsr #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, lsr #33
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, asr #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, asr #33
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, ror #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: adc r4, r5, r6, ror #32
|
2011-07-14 04:10:10 +08:00
|
|
|
|
2012-09-22 19:18:12 +08:00
|
|
|
@ Out of range shift immediate values for load/store.
|
|
|
|
str r1, [r2, r3, lsl #invalid]
|
|
|
|
ldr r4, [r5], r6, lsl #-1
|
|
|
|
pld r4, [r5, r6, lsl #32]
|
|
|
|
str r4, [r5], r6, lsr #-1
|
|
|
|
ldr r4, [r5, r6, lsr #33]
|
|
|
|
pld r4, [r5, r6, asr #-1]
|
|
|
|
str r4, [r5, r6, asr #33]
|
|
|
|
ldr r4, [r5, r6, ror #-1]
|
|
|
|
pld r4, [r5, r6, ror #32]
|
|
|
|
pld r4, [r5, r6, rrx #0]
|
2011-07-14 04:10:10 +08:00
|
|
|
|
2012-09-22 19:18:12 +08:00
|
|
|
@ CHECK-ERRORS: error: shift amount must be an immediate
|
|
|
|
@ CHECK-ERRORS: str r1, [r2, r3, lsl #invalid]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: ldr r4, [r5], r6, lsl #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: pld r4, [r5, r6, lsl #32]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: str r4, [r5], r6, lsr #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: ldr r4, [r5, r6, lsr #33]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: pld r4, [r5, r6, asr #-1]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: str r4, [r5, r6, asr #33]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: ldr r4, [r5, r6, ror #-1]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate shift value out of range
|
|
|
|
@ CHECK-ERRORS: pld r4, [r5, r6, ror #32]
|
|
|
|
@ CHECK-ERRORS: error: ']' expected
|
|
|
|
@ CHECK-ERRORS: pld r4, [r5, r6, rrx #0]
|
|
|
|
|
2011-07-14 04:10:10 +08:00
|
|
|
@ Out of range 16-bit immediate on BKPT
|
|
|
|
bkpt #65536
|
|
|
|
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,65535]
|
|
|
|
@ CHECK-ERRORS: bkpt #65536
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-14 06:01:08 +08:00
|
|
|
|
2013-09-05 22:14:19 +08:00
|
|
|
@ Out of range immediates for v8 HLT instruction.
|
|
|
|
hlt #65536
|
|
|
|
hlt #-1
|
2017-04-03 22:50:04 +08:00
|
|
|
@CHECK-ERRORS: error: immediate operand must be in the range [0,65535]
|
2015-10-28 21:58:36 +08:00
|
|
|
@CHECK-ERRORS: hlt #65536
|
2017-04-03 22:50:04 +08:00
|
|
|
@CHECK-ERRORS: ^
|
|
|
|
@CHECK-ERRORS: error: immediate operand must be in the range [0,65535]
|
2015-10-28 21:58:36 +08:00
|
|
|
@CHECK-ERRORS: hlt #-1
|
2017-04-03 22:50:04 +08:00
|
|
|
@CHECK-ERRORS: ^
|
2013-09-05 22:14:19 +08:00
|
|
|
|
|
|
|
@ Illegal condition code for v8 HLT instruction.
|
|
|
|
hlteq #2
|
|
|
|
hltlt #23
|
2015-10-28 21:58:36 +08:00
|
|
|
@CHECK-ERRORS: error: instruction 'hlt' is not predicable, but condition code specified
|
|
|
|
@CHECK-ERRORS: hlteq #2
|
|
|
|
@CHECK-ERRORS: ^
|
|
|
|
@CHECK-ERRORS: error: instruction 'hlt' is not predicable, but condition code specified
|
|
|
|
@CHECK-ERRORS: hltlt #23
|
|
|
|
@CHECK-ERRORS: ^
|
2013-09-05 22:14:19 +08:00
|
|
|
|
2011-07-14 06:01:08 +08:00
|
|
|
@ Out of range 4 and 3 bit immediates on CDP[2]
|
|
|
|
|
|
|
|
@ Out of range immediates for CDP/CDP2
|
|
|
|
cdp p7, #2, c1, c1, c1, #8
|
|
|
|
cdp p7, #1, c1, c1, c1, #8
|
|
|
|
cdp2 p7, #2, c1, c1, c1, #8
|
|
|
|
cdp2 p7, #1, c1, c1, c1, #8
|
|
|
|
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS-V7: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS-V7: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS-V7: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS-V7: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS-V8: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS-V8: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS-V8: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS-V8: error: invalid operand for instruction
|
2011-07-14 06:59:38 +08:00
|
|
|
|
|
|
|
@ Out of range immediates for DBG
|
|
|
|
dbg #-1
|
|
|
|
dbg #16
|
|
|
|
|
2012-06-23 07:56:48 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
|
2011-07-14 06:59:38 +08:00
|
|
|
@ Double-check that we're synced up with the right diagnostics.
|
|
|
|
@ CHECK-ERRORS: dbg #16
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-15 05:19:17 +08:00
|
|
|
|
2011-07-15 05:26:42 +08:00
|
|
|
@ Out of range immediate for MCR/MCR2/MCRR/MCRR2
|
2011-07-15 05:19:17 +08:00
|
|
|
mcr p7, #8, r5, c1, c1, #4
|
|
|
|
mcr p7, #2, r5, c1, c1, #8
|
|
|
|
mcr2 p7, #8, r5, c1, c1, #4
|
|
|
|
mcr2 p7, #1, r5, c1, c1, #8
|
2011-07-15 05:26:42 +08:00
|
|
|
mcrr p7, #16, r5, r4, c1
|
|
|
|
mcrr2 p7, #16, r5, r4, c1
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
2012-06-23 07:56:48 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
|
2015-10-28 21:58:36 +08:00
|
|
|
@ CHECK-ERRORS-V7: error: immediate operand must be in the range [0,15]
|
|
|
|
@ CHECK-ERRORS-V8: error: invalid operand for instruction
|
2011-07-20 03:13:28 +08:00
|
|
|
|
2013-11-08 17:16:31 +08:00
|
|
|
@ p10 and p11 are reserved for NEON
|
|
|
|
mcr p10, #2, r5, c1, c1, #4
|
|
|
|
mcrr p11, #8, r5, r4, c1
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
2011-07-20 03:13:28 +08:00
|
|
|
|
|
|
|
@ Out of range immediate for MOV
|
|
|
|
movw r9, 0x10000
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: movw r9, 0x10000
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-20 04:10:31 +08:00
|
|
|
|
|
|
|
@ Invalid 's' bit usage for MOVW
|
|
|
|
movs r6, #0xffff
|
|
|
|
movwseq r9, #0xffff
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,255]
|
2011-07-20 04:10:31 +08:00
|
|
|
@ CHECK-ERRORS: error: instruction 'movw' can not set flags, but 's' suffix specified
|
2011-07-20 04:23:25 +08:00
|
|
|
|
|
|
|
@ Out of range immediate for MOVT
|
|
|
|
movt r9, 0x10000
|
2011-07-20 04:35:35 +08:00
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: movt r9, 0x10000
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-20 04:35:35 +08:00
|
|
|
|
|
|
|
@ Out of range immediates for MRC/MRC2/MRRC/MRRC2
|
|
|
|
mrc p14, #8, r1, c1, c2, #4
|
|
|
|
mrc p14, #1, r1, c1, c2, #8
|
|
|
|
mrc2 p14, #8, r1, c1, c2, #4
|
|
|
|
mrc2 p14, #0, r1, c1, c2, #9
|
|
|
|
mrrc p7, #16, r5, r4, c1
|
|
|
|
mrrc2 p7, #17, r5, r4, c1
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,7]
|
2012-06-23 07:56:48 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,15]
|
2015-10-28 21:58:36 +08:00
|
|
|
@ CHECK-ERRORS-V7: error: immediate operand must be in the range [0,15]
|
|
|
|
@ CHECK-ERRORS-V8: error: invalid operand for instruction
|
2011-07-22 03:02:03 +08:00
|
|
|
|
|
|
|
@ Shifter operand validation for PKH instructions.
|
|
|
|
pkhbt r2, r2, r3, lsl #-1
|
|
|
|
pkhbt r2, r2, r3, lsl #32
|
|
|
|
pkhtb r2, r2, r3, asr #0
|
|
|
|
pkhtb r2, r2, r3, asr #33
|
|
|
|
pkhbt r2, r2, r3, asr #3
|
|
|
|
pkhtb r2, r2, r3, lsl #3
|
|
|
|
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate value out of range
|
|
|
|
@ CHECK-ERRORS: pkhbt r2, r2, r3, lsl #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate value out of range
|
|
|
|
@ CHECK-ERRORS: pkhbt r2, r2, r3, lsl #32
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate value out of range
|
|
|
|
@ CHECK-ERRORS: pkhtb r2, r2, r3, asr #0
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate value out of range
|
|
|
|
@ CHECK-ERRORS: pkhtb r2, r2, r3, asr #33
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: lsl operand expected.
|
|
|
|
@ CHECK-ERRORS: pkhbt r2, r2, r3, asr #3
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: asr operand expected.
|
|
|
|
@ CHECK-ERRORS: pkhtb r2, r2, r3, lsl #3
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-23 01:44:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
@ bad values for SETEND
|
|
|
|
setendne be
|
|
|
|
setend me
|
|
|
|
setend 1
|
|
|
|
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: error: instruction 'setend' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: setendne be
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'be' or 'le' operand expected
|
|
|
|
@ CHECK-ERRORS: setend me
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'be' or 'le' operand expected
|
|
|
|
@ CHECK-ERRORS: setend 1
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-26 06:20:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
@ Out of range immediates and bad shift types for SSAT
|
|
|
|
ssat r8, #0, r10, lsl #8
|
|
|
|
ssat r8, #33, r10, lsl #8
|
|
|
|
ssat r8, #1, r10, lsl #-1
|
|
|
|
ssat r8, #1, r10, lsl #32
|
|
|
|
ssat r8, #1, r10, asr #0
|
|
|
|
ssat r8, #1, r10, asr #33
|
|
|
|
ssat r8, #1, r10, lsr #5
|
|
|
|
ssat r8, #1, r10, lsl fred
|
|
|
|
ssat r8, #1, r10, lsl #fred
|
|
|
|
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [1,32]
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: ssat r8, #0, r10, lsl #8
|
|
|
|
@ CHECK-ERRORS: ^
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [1,32]
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: ssat r8, #33, r10, lsl #8
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'lsr' shift amount must be in range [0,31]
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, lsl #-1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'lsr' shift amount must be in range [0,31]
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, lsl #32
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'asr' shift amount must be in range [1,32]
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, asr #0
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'asr' shift amount must be in range [1,32]
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, asr #33
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: shift operator 'asr' or 'lsl' expected
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, lsr #5
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: '#' expected
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, lsl fred
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: shift amount must be an immediate
|
|
|
|
@ CHECK-ERRORS: ssat r8, #1, r10, lsl #fred
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-26 07:09:14 +08:00
|
|
|
|
|
|
|
@ Out of range immediates for SSAT16
|
|
|
|
ssat16 r2, #0, r7
|
|
|
|
ssat16 r3, #17, r5
|
|
|
|
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [1,16]
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: ssat16 r2, #0, r7
|
|
|
|
@ CHECK-ERRORS: ^
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [1,16]
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: ssat16 r3, #17, r5
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
|
|
|
|
|
|
|
|
@ Out of order STM registers
|
|
|
|
stmda sp!, {r5, r2}
|
|
|
|
|
2012-03-17 04:48:38 +08:00
|
|
|
@ CHECK-ERRORS: warning: register list not in ascending order
|
2011-07-26 23:41:22 +08:00
|
|
|
@ CHECK-ERRORS: stmda sp!, {r5, r2}
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-27 00:24:27 +08:00
|
|
|
|
|
|
|
|
|
|
|
@ Out of range immediate on SVC
|
|
|
|
svc #0x1000000
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,0xffffff]
|
2011-07-27 00:24:27 +08:00
|
|
|
@ CHECK-ERRORS: svc #0x1000000
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-27 02:25:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
@ Out of order Rt/Rt2 operands for ldrexd/strexd
|
|
|
|
ldrexd r4, r3, [r8]
|
|
|
|
strexd r6, r5, r3, [r8]
|
|
|
|
|
|
|
|
@ CHECK-ERRORS: error: destination operands must be sequential
|
|
|
|
@ CHECK-ERRORS: ldrexd r4, r3, [r8]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source operands must be sequential
|
|
|
|
@ CHECK-ERRORS: strexd r6, r5, r3, [r8]
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-28 04:15:40 +08:00
|
|
|
|
|
|
|
@ Illegal rotate operators for extend instructions
|
|
|
|
sxtb r8, r3, #8
|
|
|
|
sxtb r8, r3, ror 24
|
|
|
|
sxtb r8, r3, ror #8 -
|
|
|
|
sxtab r3, r8, r3, ror #(fred - wilma)
|
|
|
|
sxtab r7, r8, r3, ror #25
|
|
|
|
sxtah r9, r3, r3, ror #-8
|
|
|
|
sxtb16ge r2, r3, lsr #24
|
|
|
|
|
2011-09-20 04:29:33 +08:00
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
2011-07-28 04:15:40 +08:00
|
|
|
@ CHECK-ERRORS: sxtb r8, r3, #8
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: '#' expected
|
|
|
|
@ CHECK-ERRORS: sxtb r8, r3, ror 24
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: unknown token in expression
|
|
|
|
@ CHECK-ERRORS: sxtb r8, r3, ror #8 -
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: malformed rotate expression
|
|
|
|
@ CHECK-ERRORS: sxtb r8, r3, ror #8 -
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: rotate amount must be an immediate
|
|
|
|
@ CHECK-ERRORS: sxtab r3, r8, r3, ror #(fred - wilma)
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'ror' rotate amount must be 8, 16, or 24
|
|
|
|
@ CHECK-ERRORS: sxtab r7, r8, r3, ror #25
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: 'ror' rotate amount must be 8, 16, or 24
|
|
|
|
@ CHECK-ERRORS: sxtah r9, r3, r3, ror #-8
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-09-20 04:29:33 +08:00
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
2011-07-28 04:15:40 +08:00
|
|
|
@ CHECK-ERRORS: sxtb16ge r2, r3, lsr #24
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-07-28 05:09:25 +08:00
|
|
|
|
|
|
|
@ Out of range width for SBFX/UBFX
|
|
|
|
sbfx r4, r5, #31, #2
|
|
|
|
ubfxgt r4, r5, #16, #17
|
|
|
|
|
|
|
|
@ CHECK-ERRORS: error: bitfield width must be in range [1,32-lsb]
|
|
|
|
@ CHECK-ERRORS: sbfx r4, r5, #31, #2
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: bitfield width must be in range [1,32-lsb]
|
|
|
|
@ CHECK-ERRORS: ubfxgt r4, r5, #16, #17
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-08-11 04:29:19 +08:00
|
|
|
|
2014-06-23 17:20:02 +08:00
|
|
|
@ Using pc for SBFX/UBFX
|
|
|
|
sbfx pc, r2, #1, #3
|
|
|
|
sbfx sp, pc, #4, #5
|
|
|
|
ubfx pc, r0, #0, #31
|
|
|
|
ubfx r14, pc, #1, #2
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: sbfx pc, r2, #1, #3
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: sbfx sp, pc, #4, #5
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: ubfx pc, r0, #0, #31
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: ubfx r14, pc, #1, #2
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
|
2011-08-11 04:29:19 +08:00
|
|
|
@ Out of order Rt/Rt2 operands for ldrd
|
|
|
|
ldrd r4, r3, [r8]
|
|
|
|
ldrd r4, r3, [r8, #8]!
|
|
|
|
ldrd r4, r3, [r8], #8
|
|
|
|
@ CHECK-ERRORS: error: destination operands must be sequential
|
|
|
|
@ CHECK-ERRORS: ldrd r4, r3, [r8]
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination operands must be sequential
|
|
|
|
@ CHECK-ERRORS: ldrd r4, r3, [r8, #8]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination operands must be sequential
|
|
|
|
@ CHECK-ERRORS: ldrd r4, r3, [r8], #8
|
|
|
|
@ CHECK-ERRORS: ^
|
2011-09-15 02:08:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
@ Bad register lists for VFP.
|
|
|
|
vpush {s0, s3}
|
|
|
|
@ CHECK-ERRORS: error: non-contiguous register range
|
|
|
|
@ CHECK-ERRORS: vpush {s0, s3}
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
|
2011-10-13 01:34:41 +08:00
|
|
|
@ Out of range coprocessor option immediate.
|
|
|
|
ldc2 p2, c8, [r1], { 256 }
|
|
|
|
ldc2 p2, c8, [r1], { -1 }
|
|
|
|
|
2015-10-28 21:58:36 +08:00
|
|
|
@ CHECK-ERRORS-V7: error: coprocessor option must be an immediate in range [0, 255]
|
|
|
|
@ CHECK-ERRORS-V7: ldc2 p2, c8, [r1], { 256 }
|
|
|
|
@ CHECK-ERRORS-V7: ^
|
|
|
|
@ CHECK-ERRORS-V8: error: register expected
|
|
|
|
@ CHECK-ERRORS-V7: error: coprocessor option must be an immediate in range [0, 255]
|
|
|
|
@ CHECK-ERRORS-V7: ldc2 p2, c8, [r1], { -1 }
|
|
|
|
@ CHECK-ERRORS-V7: ^
|
|
|
|
@ CHECK-ERRORS-V8: error: register expected
|
2012-06-14 18:48:04 +08:00
|
|
|
|
|
|
|
@ Bad CPS instruction format.
|
|
|
|
cps f,#1
|
2017-04-03 22:50:04 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate operand must be in the range [0,31]
|
2012-06-14 18:48:04 +08:00
|
|
|
@ CHECK-ERRORS: cps f,#1
|
|
|
|
@ CHECK-ERRORS: ^
|
2012-10-10 10:54:23 +08:00
|
|
|
|
|
|
|
@ Bad operands for msr
|
|
|
|
msr #0, #0
|
|
|
|
msr foo, #0
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: msr #0, #0
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: invalid operand for instruction
|
|
|
|
@ CHECK-ERRORS: msr foo, #0
|
|
|
|
@ CHECK-ERRORS: ^
|
2013-06-10 22:17:08 +08:00
|
|
|
|
|
|
|
isb #-1
|
|
|
|
isb #16
|
|
|
|
@ CHECK-ERRORS: error: immediate value out of range
|
|
|
|
@ CHECK-ERRORS: error: immediate value out of range
|
2013-06-19 04:19:24 +08:00
|
|
|
|
|
|
|
nop.n
|
|
|
|
@ CHECK-ERRORS: error: instruction with .n (narrow) qualifier not allowed in arm mode
|
2013-06-27 00:52:32 +08:00
|
|
|
|
|
|
|
dmbeq #5
|
|
|
|
dsble #15
|
|
|
|
isblo #7
|
|
|
|
@ CHECK-ERRORS: error: instruction 'dmb' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'dsb' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'isb' is not predicable, but condition code specified
|
|
|
|
|
|
|
|
dmblt
|
|
|
|
dsbne
|
|
|
|
isbeq
|
|
|
|
@ CHECK-ERRORS: error: instruction 'dmb' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'dsb' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'isb' is not predicable, but condition code specified
|
2013-06-27 00:52:40 +08:00
|
|
|
|
|
|
|
mcr2le p7, #1, r5, c1, c1, #4
|
|
|
|
mcrr2ne p7, #15, r5, r4, c1
|
|
|
|
mrc2lo p14, #0, r1, c1, c2, #4
|
|
|
|
mrrc2lo p7, #1, r5, r4, c1
|
|
|
|
cdp2hi p10, #0, c6, c12, c0, #7
|
|
|
|
@ CHECK-ERRORS: error: instruction 'mcr2' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'mcrr2' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'mrc2' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'mrrc2' is not predicable, but condition code specified
|
|
|
|
@ CHECK-ERRORS: error: instruction 'cdp2' is not predicable, but condition code specified
|
|
|
|
|
|
|
|
bkpteq #7
|
|
|
|
@ CHECK-ERRORS: error: instruction 'bkpt' is not predicable, but condition code specified
|
2013-10-23 03:00:39 +08:00
|
|
|
|
|
|
|
ldm r2!, {r2, r3}
|
|
|
|
ldmdb r2!, {r2, r3}
|
|
|
|
ldmda r2!, {r2, r3}
|
2013-10-24 17:37:18 +08:00
|
|
|
popeq {sp}
|
|
|
|
@ CHECK-ERRORS: error: writeback register not allowed in register list
|
|
|
|
@ CHECK-ERRORS: error: writeback register not allowed in register list
|
|
|
|
@ CHECK-ERRORS: error: writeback register not allowed in register list
|
|
|
|
@ CHECK-ERRORS: error: writeback register not allowed in register list
|
2013-10-24 20:22:58 +08:00
|
|
|
|
|
|
|
vrintz.f32.f32 s0, s1
|
|
|
|
vrintr.f32 s0, s1
|
|
|
|
vrintx.f64.f64 d2, d5
|
|
|
|
vrintz.f64 d10, d9
|
|
|
|
vrinta.f32.f32 s6, s7
|
|
|
|
vrintn.f32 s8, s9
|
|
|
|
vrintp.f64.f64 d10, d11
|
|
|
|
vrintm.f64 d12, d13
|
2015-10-28 21:58:36 +08:00
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
|
|
|
@ CHECK-ERRORS-V7: error: instruction requires: FPARMv8
|
2013-11-13 05:32:41 +08:00
|
|
|
|
|
|
|
stm sp!, {r0, pc}^
|
|
|
|
ldm sp!, {r0}^
|
|
|
|
@ CHECK-ERRORS: error: system STM cannot have writeback register
|
|
|
|
@ CHECK-ERRORS: error: writeback register only allowed on system LDM if PC in register-list
|
2014-04-19 07:06:39 +08:00
|
|
|
|
|
|
|
foo2:
|
|
|
|
mov r0, foo2
|
|
|
|
movw r0, foo2
|
2017-03-14 21:50:10 +08:00
|
|
|
movt r0, foo2
|
2014-04-19 07:06:39 +08:00
|
|
|
@ CHECK-ERRORS: error: immediate expression for mov requires :lower16: or :upper16
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate expression for mov requires :lower16: or :upper16
|
2017-03-14 21:50:10 +08:00
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: immediate expression for mov requires :lower16: or :upper16
|
2014-04-19 07:06:39 +08:00
|
|
|
@ CHECK-ERRORS: ^
|
2014-07-23 20:38:17 +08:00
|
|
|
|
|
|
|
str r0, [r0, #4]!
|
|
|
|
str r0, [r0, r1]!
|
|
|
|
str r0, [r0], #4
|
|
|
|
str r0, [r0], r1
|
2014-07-24 17:55:46 +08:00
|
|
|
strh r0, [r0, #2]!
|
|
|
|
strh r0, [r0, r1]!
|
|
|
|
strh r0, [r0], #2
|
|
|
|
strh r0, [r0], r1
|
2014-07-23 21:03:47 +08:00
|
|
|
strb r0, [r0, #1]!
|
|
|
|
strb r0, [r0, r1]!
|
|
|
|
strb r0, [r0], #1
|
|
|
|
strb r0, [r0], r1
|
2014-07-23 20:38:17 +08:00
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: str r0, [r0, #4]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: str r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: str r0, [r0], #4
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: str r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
2014-07-23 21:03:47 +08:00
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
2014-07-24 17:55:46 +08:00
|
|
|
@ CHECK-ERRORS: strh r0, [r0, #2]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: strh r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: strh r0, [r0], #2
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: strh r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
2014-07-23 21:03:47 +08:00
|
|
|
@ CHECK-ERRORS: strb r0, [r0, #1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: strb r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: strb r0, [r0], #1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: source register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: strb r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
2014-08-01 19:08:51 +08:00
|
|
|
|
|
|
|
ldr r0, [r0, #4]!
|
|
|
|
ldr r0, [r0, r1]!
|
|
|
|
ldr r0, [r0], #4
|
|
|
|
ldr r0, [r0], r1
|
2014-08-01 19:33:47 +08:00
|
|
|
ldrh r0, [r0, #2]!
|
|
|
|
ldrh r0, [r0, r1]!
|
|
|
|
ldrh r0, [r0], #2
|
|
|
|
ldrh r0, [r0], r1
|
|
|
|
ldrsh r0, [r0, #2]!
|
|
|
|
ldrsh r0, [r0, r1]!
|
|
|
|
ldrsh r0, [r0], #2
|
|
|
|
ldrsh r0, [r0], r1
|
2014-08-01 20:08:04 +08:00
|
|
|
ldrb r0, [r0, #1]!
|
|
|
|
ldrb r0, [r0, r1]!
|
|
|
|
ldrb r0, [r0], #1
|
|
|
|
ldrb r0, [r0], r1
|
|
|
|
ldrsb r0, [r0, #1]!
|
|
|
|
ldrsb r0, [r0, r1]!
|
|
|
|
ldrsb r0, [r0], #1
|
|
|
|
ldrsb r0, [r0], r1
|
2014-08-01 19:08:51 +08:00
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldr r0, [r0, #4]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldr r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldr r0, [r0], #4
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldr r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
2014-08-01 19:33:47 +08:00
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrh r0, [r0, #2]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrh r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrh r0, [r0], #2
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrh r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsh r0, [r0, #2]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsh r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsh r0, [r0], #2
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsh r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
2014-08-01 20:08:04 +08:00
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrb r0, [r0, #1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrb r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrb r0, [r0], #1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrb r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsb r0, [r0, #1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsb r0, [r0, r1]!
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsb r0, [r0], #1
|
|
|
|
@ CHECK-ERRORS: ^
|
|
|
|
@ CHECK-ERRORS: error: destination register and base register can't be identical
|
|
|
|
@ CHECK-ERRORS: ldrsb r0, [r0], r1
|
|
|
|
@ CHECK-ERRORS: ^
|
2014-12-02 18:53:20 +08:00
|
|
|
|
|
|
|
@ Out of range modified immediate values
|
|
|
|
mov r5, #-256, #6
|
|
|
|
mov r6, #42, #7
|
|
|
|
mvn r5, #256, #6
|
|
|
|
mvn r6, #42, #298
|
|
|
|
cmp r5, #65535, #6
|
|
|
|
cmp r6, #42, #31
|
|
|
|
cmn r5, #-1, #6
|
|
|
|
cmn r6, #42, #32
|
|
|
|
msr APSR_nzcvq, #-128, #2
|
|
|
|
msr apsr_nzcvqg, #0, #1
|
|
|
|
adc r7, r8, #-256, #2
|
|
|
|
adc r7, r8, #128, #1
|
|
|
|
sbc r7, r8, #-256, #2
|
|
|
|
sbc r7, r8, #128, #1
|
|
|
|
add r7, r8, #-2149, #0
|
|
|
|
add r7, r8, #100, #1
|
|
|
|
sub r7, r8, #-2149, #0
|
|
|
|
sub r7, r8, #100, #1
|
|
|
|
and r7, r8, #-2149, #0
|
|
|
|
and r7, r8, #100, #1
|
|
|
|
orr r7, r8, #-2149, #0
|
|
|
|
orr r7, r8, #100, #1
|
|
|
|
eor r7, r8, #-2149, #0
|
|
|
|
eor r7, r8, #100, #1
|
|
|
|
bic r7, r8, #-2149, #0
|
|
|
|
bic r7, r8, #100, #1
|
|
|
|
rsb r7, r8, #-2149, #0
|
|
|
|
rsb r7, r8, #100, #1
|
|
|
|
adds r7, r8, #-2149, #0
|
|
|
|
adds r7, r8, #100, #1
|
|
|
|
subs r7, r8, #-2149, #0
|
|
|
|
subs r7, r8, #100, #1
|
|
|
|
rsbs r7, r8, #-2149, #0
|
|
|
|
rsbs r7, r8, #100, #1
|
|
|
|
rsc r7, r8, #-2149, #0
|
|
|
|
rsc r7, r8, #100, #1
|
|
|
|
TST r7, #-2149, #0
|
|
|
|
TST r7, #100, #1
|
|
|
|
TEQ r7, #-2149, #0
|
|
|
|
TEQ r7, #100, #1
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must a number in the range [0, 255]
|
|
|
|
@ CHECK-ERRORS: error: immediate operand must an even number in the range [0, 30]
|