NO

Author Topic: Sample Assembly Programs  (Read 4548 times)

cldudley

  • Guest
Sample Assembly Programs
« 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. :-)

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Sample Assembly Programs
« Reply #1 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 - C samples, MD5 - mixes C and X86 assembly, which may or may not be useful...
/Pelle

Greg

  • Guest
Re: Sample Assembly Programs
« Reply #2 on: November 13, 2008, 10:46:18 PM »
There is example code and some good information in the Pelle's Assembler sub-forum at the MASM32 Forum. There hasn't been a lot of activity there recently, but there is some good stuff there.
 

Offline Vortex

  • Member
  • *
  • Posts: 865
    • http://www.vortex.masmcode.com
Re: Sample Assembly Programs
« Reply #3 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

Code it... That's all...