flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > High Level Languages > Assemblers used by high language compilers - please complete

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
KevinN



Joined: 09 Oct 2012
Posts: 161
Thanks TmX, smallc on Linux is better than nothing
Post 13 Mar 2013, 02:28
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1215
Location: NC, USA
You can use -masm=intel to get GCC to use Intel syntax. The -masm isn't a reference to the MASM assembler; it's a convention to use -m* prefix for certain options. For example -m32 and -m64 *used* to be used to switch between 32 and 64-bit output. Another reason that connection can't make sense is that -masm=att is also valid, to explicitly use AT&T syntax.
Post 02 May 2013, 01:51
View user's profile Send private message Reply with quote
Bob++



Joined: 12 Feb 2013
Posts: 92
I think that this "m" came from "machine". -masm "machine assembly [output]" -m32 "machine 32(32-bit machine) etc
btw,what doesn't make sense is -masm=tt be invalid. A program shouldn't return an error in just because are setting the default.
Post 02 May 2013, 02:09
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651

Bob++ wrote:
-masm=tt be invalid.

-masm=tt is indeed invalid, gcc even suggests right spelling:

Code:
>gcc -S -masm=tt main.C -o main.asm
gcc.exeerrorunrecognized argument in option '-masm=tt'
gcc.exenotevalid arguments to '-masm=' areatt intel

>gcc -S -masm=att main.C -o main.asm

>gcc -S -masm=intel main.C -o main.asm

>

Post 02 May 2013, 07:39
View user's profile Send private message Reply with quote
Bob++



Joined: 12 Feb 2013
Posts: 92
Oh,my mistake. I mean att instead of tt. I'll edit it. But don't change my OP.
Post 02 May 2013, 17:51
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1907
1. Added OCC.

2. Anyone can clarify MSVC: does it support inline ASM? Can it brew ASM?
Post 18 Jun 2013, 00:53
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 766
Location: Jakarta, Indonesia

DOS386 wrote:

2. Anyone can clarify MSVC: does it support inline ASM? Can it brew ASM?



x86: yes
Itanium & x64: no

http://msdn.microsoft.com/en-us/library/4ks26t93.aspx
Post 18 Jun 2013, 06:24
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1907
Can MSVC brew ASM? Is MA$M included in (all/some/no) official packages?
Post 23 Jun 2013, 12:51
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 766
Location: Jakarta, Indonesia

DOS386 wrote:
Can MSVC brew ASM? Is MA$M included in (all/some/no) official packages?



MASM (ml.exe) has always been a part of Visual Studio.
I observe this at least from VS 6, though.
Post 23 Jun 2013, 15:25
View user's profile Send private message Reply with quote
Aslan



Joined: 09 Sep 2013
Posts: 2
PowerBASIC - YES

https://www.powerbasic.com/support/pbforums/forumdisplay.php?f=22
http://www.powerbasic.com/support/technote/asm1.asp

from online help
http://www.powerbasic.com/support/help/pbwin/html/ASM_statement.htm


PowerBASIC Compiler completely written in assembly language!
The last version is 10.04, released on November of 2012.


Last edited by Aslan on 12 Sep 2013, 17:42; edited 1 time in total
Post 09 Sep 2013, 19:23
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1907
> The last version is 10.04

release date ???
Post 11 Sep 2013, 16:30
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.