以前から気にはなっていたんだが
たまにPGソースが行番号付で構文カラーリング表示されているのを見かけるのだが、SyntaxHighlighterというのを使っているらしい。他にも似たようなものがあるそうだが、Wordpress用のPluginもあったので入れてみた:
static inline void blt(LPVOID src, LPVOID dst)
{
__asm__ __volatile__ (
" ldr r0,%0 \n\t"
" ldr r1,%1 \n\t"
" wldrd wr0,[r0],+#8 \n\t"
" wstrd wr0,[r1],+#8 \n\t"
" wldrd wr0,[r0],+#8 \n\t"
" wstrd wr0,[r1],+#8 \n\t"
" wldrd wr0,[r0],+#8 \n\t"
" wstrd wr0,[r1],+#8 \n\t"
" wldrd wr0,[r0] \n\t"
" wstrd wr0,[r1] \n\t"
:
: "m"(src), "m"(dst)
: "r0","r1","wr0"
);
}
これはなかなか便利ですな。