flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > abstraction layer for 32-bit and 64-bit assembly

Author
Thread Post new topic Reply to topic
peter



Joined: 09 May 2006
Posts: 63
peter
An abstraction layer that automatically handles the differences in calling convention between platforms and the differences between MMX and SSE integer instructions, so that you can write a portable code:

Description
Source code

Unfortunately, it's for NASM/YASM Sad
Post 04 Nov 2009, 12:49
View user's profile Send private message Visit poster's website Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22
I'd hate to be the guy that has to maintain those macros when they add Intel's 256bit extension to the mix.
Post 04 Nov 2009, 15:44
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
peter wrote:

Unfortunately, it's for NASM/YASM Sad


YASM only, actually, according to that page, because "NASM has a bug".
Post 04 Nov 2009, 18:01
View user's profile Send private message Visit poster's website Reply with quote
rxantos



Joined: 19 Jul 2008
Posts: 41
rxantos
Isn't the whole purpose of assembly to make code as efficient as possible? If so why the need for abstracting between 32 and 64 bits?

For abstraction you can always use another language, like C for example.
Post 26 Apr 2010, 18:41
View user's profile Send private message 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.

Powered by rwasa.