flat assembler
Message board for the users of flat assembler.

Index > Main > How to translate this?

Author
Thread Post new topic Reply to topic
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9
HI, attached source code is written in nasm, how to translate to FASM?


Description: libjpeg_mmx source
Download
Filename: fdct_mmx.asm
Filesize: 13.53 KB
Downloaded: 199 Time(s)

Post 01 Aug 2004, 06:32
View user's profile Send private message Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc
Well, I did a quick conversion, and it assembles, but I haven't tested it Smile So here it is. The basic steps were:

Code:
%define NAME VALUE   becomes>   NAME equ VALUE
extern NAME   becomes>   extrn NAME
global NAME   becomes>   public NAME

Add 'format TYPE' to start of file
Remove 'section .text' and 'align 32'
    


Description:
Download
Filename: fasm_fdct_mmx.asm
Filesize: 13.96 KB
Downloaded: 223 Time(s)


_________________
Charles Childers, Programmer
Post 01 Aug 2004, 07:05
View user's profile Send private message Visit poster's website Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9
Thanks my man! ;)

http://www.cosmoe.com

--
regards
Post 01 Aug 2004, 10:01
View user's profile Send private message Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc
no problem Smile
Post 01 Aug 2004, 10:14
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.