Pinguino Forum
Inline Assembler Code? - Printable Version

+- Pinguino Forum (http://forum.pinguino.cc)
+-- Forum: Software (http://forum.pinguino.cc/forumdisplay.php?fid=7)
+--- Forum: Syntax & Programs (http://forum.pinguino.cc/forumdisplay.php?fid=19)
+--- Thread: Inline Assembler Code? (/showthread.php?tid=3603)



Inline Assembler Code? - YeisonEng - 21-09-2012

Hi all,
I wonder if I can use assembler code within the code of Pinguino, as it says here.
at least seems to insert:
Code:
__asm

__endasm;
does not generate errors.

thanks.


RE: Inline Assembler Code? - regis - 22-09-2012

Yes you can.
With 8-bit : __asm ... __endasm;
With 32-bit : asm("...");


(21-09-2012, 02:11 AM)YeisonEng Wrote: Hi all,
I wonder if I can use assembler code within the code of Pinguino, as it says here.
at least seems to insert:
Code:
__asm

__endasm;
does not generate errors.

thanks.