From: Qingyu Song Date: Fri, 17 Apr 2009 17:13:06 -0700 Subject: [U-Boot] ppc 85xx inline assembly Message-ID: <352fc0270904171713s58d231f4u8445292dddbf21ff@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I am trying to understand the inline assembly function out_be32 extern inline void out_be32(volatile unsigned __iomem *addr, int val) { __asm__ __volatile__("sync; stw%U0%X0 %1,%0" : "=m" (*addr) : "r" (val)); } I am not familiar with the syntax here, especially for the %U0%X0 part, can someone help me to translate this into assemble code? Thanks Qingyu