View topic - ARM instruction asm for DMB with an option "ST"

Page 1 of 1

ARM instruction asm for DMB with an option "ST"

PostPosted: Wed Jan 07, 2015 8:16 pm
by eusoct
What is the correct statement to put ARM instruction DMB (Data Memory Barrier) with an option of "ST"?
Based on: http://infocenter.arm.com/help/index.js ... GHHIE.html

Without the option, this statement works:
asm(" DMB");

I try with:
asm(" DMB ST");

I am getting an error:
{standard input}: Assembler messages:
{standard input}:557: Error: garbage following instruction -- `dmb ST'
cc: /opt/qnx650/host/linux/x86/usr/bin/ntoarm-as error 1

Thanks.