316bbf6b92
the reference is from https://gcc.gnu.org/onlinedocs/gcc.pdf (5.0.0 pre-release), section 6.43 (How to Use Inline Assembly Language in C Code) and http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html syntax of basic asm statement: asm [ volatile ] ( Assembler Instructions ) syntax of extended asm statement asm [volatile] ( Assembler Template : Output Operands [ : Input Operands [ : Clobbers ] ]) Alanpsc, thanks you! |
||
---|---|---|
.. | ||
pmbootloader | ||
toybootloader | ||
defines.h | ||
lab1-ex0.md | ||
lab1-ex0.s | ||
lab1-ex1.c | ||
lab1-ex1.md | ||
lab1-ex2.c | ||
lab1-ex2.md | ||
lab1-ex3.c | ||
lab1-ex3.md | ||
Makefile |