On Mon, Mar 18, 2019 at 01:33:14PM +0200, ilya german wrote: > The code works as expected. > > I’m working on embedded systems and worry that my specific asm instructions could be changed. > > Is there a flag to fail compilation every time the generated instruction won’t match the specified ? No: simply because the compiler cannot read your mind, does not know what you expect. If you write mftb rX,268 it maybe should not be translated: it is not an extended mnemonic. But it is translated, currently. It all works just fine if you specify the correct CPU. There will be much bigger problems if you *don't*, btw, so don't worry so much :-) Segher