Skip navigation.
Home
The QNX Community Portal

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

ARM instruction asm for DMB with an option "ST"

anything that doesn't fit to other groups.

ARM instruction asm for DMB with an option "ST"

Postby eusoct » Wed Jan 07, 2015 8:16 pm

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.
eusoct
New Member
 
Posts: 2
Joined: Wed Jan 07, 2015 5:42 pm

Return to General Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron