タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

asmとgasに関するpapamitraのブックマーク (3)

  • GCC-インラインアセンブリ-HOWTO (日本語訳)

    Sandeep.Sv0.1, 01 March 2003. この HOWTO では、GCC により提供されるインラインアセンブリの機能の目的と、その使用法について説明します。前提とされる知識は、x86 アセンブリと C 言語の 2 つだけです。 1. イントロダクション. 1.1 著作権およびライセンス. 1.2 フィードバックと訂正. 1.3 謝辞. 2. 全体の概要. 3. GCC アセンブリ構文. 4. 基的なインライン構文. 5. 拡張アセンブリ構文. 5.1 アセンブリテンプレート. 5.2 オペランド. 5.3 破壊されるレジスタのリスト. 5.4 Volatile ...? 6. オペランド制約の詳細. 6.1 よく使われる制約. 6.2 制約修飾子. 7. 有用なレシピ集. 8. 最後に. 9. 参考文献. 1. イントロダクション. 1.1 著作権およびライセンス. C

  • gas - Lavender PukiWiki

    レジスタ † 32bit: %eax, %ebx, %ecx, %edx, %edi, %esi, %ebp, %esp 16bit: %ax, %bx, %cx, %dx, %di, %si, %bp, %sp 8bit: %ah, %al, %bh, %bl, %ch, %cl, %dh, %dl segment:%cs, %ds, %ss, %es, %fs, %gs ctrl: %cr0, %cr2, %cr3 debug: %db0, %db1, %db2, %db3, %db6, %db7 test: %tr6, %tr7 floating point register stack: %st or %st(0), %st(1), %st(2), %st(3), %st(4), %st(5), %st(6), %st(7) ↑ 書き方 † 即値 $をつける. レジスタ %をつける

  • AT&T Assembly Syntax | Sig9

    This article is a ‘quick-n-dirty’ introduction to the AT&T assembly language syntax, as implemented in the GNU Assembler as(1). For the first timer the AT&T syntax may seem a bit confusing, but if you have any kind of assembly language programming background, it’s easy to catch up once you have a few rules in mind. I assume you have some familiarity to what is commonly referred to as the INTEL-syn

  • 1