Tag Archives: complier/asmimpossible constraint in ‘asm’ error

【complier/asm】impossible constraint in ‘asm’ error

Don’t panic in case of data tilt, teach you to easily obtain the slope of table tilt>>>

DATE: 2018.11.21


1, reference
2

https://stackoverflow.com/questions/29880695/compiling-error-impossible-constraint-in-asm?answertab=active#tab -top
https://stackoverflow.com/questions/30918170/impossible-constraint-in-asm-error
https://blog.csdn.net/Q1302182594/article/details/50794409
https://blog.csdn.net/u012509728/article/details/50404424

2. Problem description
2

Today we are doing x86 and x86 on Android platform_ When compiling x86 inline assembly code, the following error is reported:

impossible constraint in 'asm' error;
#define asm __asm__

3. Solutions
3

The reason has not been found
preliminary analysis: yasm is the assembler used by Android NDK, and it has been confirmed that yasm supports Intel format and GNU as (at & amp; T) Format, but may not support at & amp; This problem needs to be further confirmed

Question confirmation:

to be added


THE END!