Pelles C forum

C language => Expert questions => Topic started by: cldudley on November 07, 2008, 03:22:26 PM

Title: Sample Assembly Programs
Post by: cldudley on November 07, 2008, 03:22:26 PM
Hello there,

Are there any sample assembly language programs available for Pelles C?

I am interested in writing some functions that use the SIMD registers and instructions for X64 and X86, but I would like to look at some examples of how the POASM interfaces with POCC source code, etc.

I know X86 and X64 use different calling schemes, I am just looking for a few samples to give me somewhere to begin. :-)
Title: Re: Sample Assembly Programs
Post by: Pelle on November 11, 2008, 06:03:13 PM
Not much published - a few snippets have been posted in the past here in the forum, but I'm not sure they are still around...
http://www.smorgasbordet.com/pellesc/sourcecode.htm (http://www.smorgasbordet.com/pellesc/sourcecode.htm) - C samples, MD5 - mixes C and X86 assembly, which may or may not be useful...
Title: Re: Sample Assembly Programs
Post by: Greg on November 13, 2008, 10:46:18 PM
There is example code and some good information in the Pelle's Assembler (http://www.masm32.com/board/index.php?board=42.0) sub-forum at the MASM32 Forum. There hasn't been a lot of activity there recently, but there is some good stuff there.
 
Title: Re: Sample Assembly Programs
Post by: Vortex on November 14, 2008, 07:04:46 PM
Hi cldudley,

I coded an utility converting module definition files to Poasm \ Masm include files. The C source code is using Poasm modules.

http://vortex.masmcode.com/files/def2inc20.zip