flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > Assemblers used by high language compilers - please complete

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



Joined: 19 Jun 2003
Posts: 297
Location: Bris-vegas, Australia
Chewy509 28 Aug 2007, 05:54
ManOfSteel wrote:
@Chewy509:
Quote:
preferring my own language 'b0'

Speaking of which, the site where you're hosting it seems to be down.

Working fine for me (for the moment)? But admittedly, being hosted on a free site, it doesn't have the best uptime.
Post 28 Aug 2007, 05:54
View user's profile Send private message Visit poster's website Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 28 Aug 2007, 11:31
Quote:
Working fine for me (for the moment)? But admittedly, being hosted on a free site, it doesn't have the best uptime.

I'm getting a 'could not locate remote server / cannot find server' error. You're the second person to tell me it's working fine, so I guess your host most be black-listed by my ISP or something.
Post 28 Aug 2007, 11:31
View user's profile Send private message Reply with quote
Chewy509



Joined: 19 Jun 2003
Posts: 297
Location: Bris-vegas, Australia
Chewy509 29 Aug 2007, 02:08
ManOfSteel wrote:
Quote:
Working fine for me (for the moment)? But admittedly, being hosted on a free site, it doesn't have the best uptime.

I'm getting a 'could not locate remote server / cannot find server' error. You're the second person to tell me it's working fine, so I guess your host most be black-listed by my ISP or something.

I've attached the doc's, if you would like the compiler, let me know and I can send on the source code, etc...


Description: B0 Docs.
Download
Filename: b0.zip
Filesize: 83.15 KB
Downloaded: 994 Time(s)

Post 29 Aug 2007, 02:08
View user's profile Send private message Visit poster's website Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 29 Aug 2007, 07:49
Thanks, Chewy509.
The Windows installer would be perfect. How big is it?
P.S: I'm using Win98SE.
Post 29 Aug 2007, 07:49
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 29 Aug 2007, 11:28
> How big is it? P.S: I'm using Win98SE.

B0 seems to support 64-bit stuff only Confused

P.S. : additions and corrections to first post still welcome Wink
Post 29 Aug 2007, 11:28
View user's profile Send private message Reply with quote
Chewy509



Joined: 19 Jun 2003
Posts: 297
Location: Bris-vegas, Australia
Chewy509 29 Aug 2007, 23:21
ManOfSteel wrote:
Thanks, Chewy509.
The Windows installer would be perfect. How big is it?
P.S: I'm using Win98SE.

Sorry, minimum requirement is WinXP x64 or Vista x64 (and any 64bit Linux/BSD/Solaris variant)...

B0 requires a 64bit OS, as it's a 64bit application...
Post 29 Aug 2007, 23:21
View user's profile Send private message Visit poster's website Reply with quote
princeharrry



Joined: 07 Mar 2008
Posts: 2
princeharrry 07 Mar 2008, 16:13
Hi ,
Here is th small and simple C Compiler which was org. writen to output
MASM then modified to NASM and then by CRC to FASM .

I ported this to DEXOS :http://www.dex4u.com/
SCC version for Linux(that outputs *.asm files for DEX OS
which could than be assembled with FASM.)

SCC in the version for DEX OS:(could be run in OS !!)
Input ; ASCII text( in DEX OS with tex4u ) or Linux/WIN or else.
file as myfile.ccc !!!!
Output in FASM-files and *.dex file to run directly in DEX OS

More on :http://freenet-homepage.de/puppylinux/

I would be pleased about each suggestion! or criticism! Wink Very Happy
Post 07 Mar 2008, 16:13
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 08 Mar 2008, 01:03
> I would be pleased about each suggestion! or criticism!

Write more about it Idea

Features, compliance (C89, C99, C++ Laughing, ...), limitations

Can it compile itself on DeXOS ? It's full of "INT 21", "MSDOS" and German comments ... Confused

Added into list. Shocked
Post 08 Mar 2008, 01:03
View user's profile Send private message Reply with quote
princeharrry



Joined: 07 Mar 2008
Posts: 2
princeharrry 08 Mar 2008, 07:27
Thank you for looking at scc!

But please don t hurry.

English comments will come soon!
The page is at the beginning!

Sorrrrry no ANSI or C89 , there is very low doc. for the orginal Small C C.
Rolling Eyes Syntax is old K&R!!? (but if there ist time and will ,maybe i change some
thinks!!!/but this is all in the CC1-CC4.c files !!)
For now I am working at the 'glue' osfunc.asm which is the port to DEXOS.!

There are some other *.zip files for Dos/Linux. I will put then on my site.
But thats is not my work! Exclamation

Once again the one scc_beta, on my side, is only for DEX OS you have to unzip and copy it to an DEX-startdisk!!!
Then you could write whit the texteditor 'tex4u' a file and save ist with *.ccc Exclamation

At the moment it can not compile itself!! The scc.asm is needed(sorry about bad code Embarassed )But as i have the getarg() function ready, I will write the scc.c so it could compile it self).
The reason is Dex has a system function 'GetParams' but the return is only an pointer (in esi) the command line.But c needs argc and argv!! I work on it.

I know this is good for nothing Rolling Eyes
But my motivation was to learn some asm and c and bring peace and love to the world Laughing
There are no c-programs that fit the syntax, most has to be re-writen (there are no 'struc' or 'typedef' int is only 16bit Crying or Very sad and so on...)
PS .Please put my link at the begin arther the link retro.tunes.org
the version from Charles Childers is for Linux, my version is for DEX OS ,an OS that you can find at dex4u.com!!
Post 08 Mar 2008, 07:27
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1403
Location: Piraeus, Greece
Picnic 04 Feb 2009, 11:52
Thistle is a simple Basic compiler written in LibertyBasic.
Uses FASM to create the final executable starting from 6.5Kb

http://alycesrestaurant.com/thistle/index.htm
Post 04 Feb 2009, 11:52
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 05 Feb 2009, 12:46
Windoze only, updated 2005 last time Neutral FASM indeed is insanely popular for such exotical "compilers" Laughing
Post 05 Feb 2009, 12:46
View user's profile Send private message Reply with quote
bobsobol



Joined: 31 May 2010
Posts: 18
Location: U.K.
bobsobol 19 Jun 2011, 16:00
DOS386 wrote:
FBC (FreeBASIC compiler): compiles always via GAS ("Intel" syntax) into COFF objects, links with LD. Inline ASM supported, "Intel" syntax
Sorry to "bump" but this line isn't 100% accurate any more, even though it would seem to be from the FB documentation.

In the Windows version *only* FBC produces GAS output which is assembled (at least partly) with YASM via an "as.exe" proxy, resources are compiled with Jerremy Gordons' GoRC.

as reports "GNU assembler version 2.15.94 (mingw32) using BFD version 2.15.94 20050118"
yasm reports "yasm 1.1.0.2352"
GoRC reports "GoRC.Exe Version 0.90.2 - Copyright Jeremy Gordon 1998/2006 - JG@JGnet.co.uk"
ld reports "GNU ld version 2.15.94 20050118"

fbc tested = "FreeBASIC Compiler - Version 0.21.1 (08-11-2010) for win32 (target:win32)"

I'm not sure how much of GNU AS and how much of YASM are used, since FBC produces output that YASM won't assemble directly, but GAS will. (if you ask it to compile to .asm)

There is also an experimental branch of FBC to compile the freeBASIC source to portable C, so that FBC can more easily be adapted for other platforms.
Post 19 Jun 2011, 16:00
View user's profile Send private message Reply with quote
Tarkin



Joined: 27 Aug 2010
Posts: 22
Tarkin 30 Aug 2011, 19:59
Didn't quite see if LCC was in the mix.

The LCC version from Princeton has many backends depending on it's platform.
The lcc-win32 version by Jacob Navia has it's own assembler, I believe.

LCC version 3.6 from Princeton supports 3 different assemblers on x86-32-Linux:
*) gAS - the GNU Assembler
*) NASM - the Netwide assembler
*) FASM - falt assembler, integration provided by yours truly Cool

The package containing a prunes lcc-3.6 tree with modifications to support fasm is
in this thread:
http://board.flatassembler.net/topic.php?t=12706

TTFN,
Tarkin
Post 30 Aug 2011, 19:59
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 12 Sep 2011, 07:59
> The package containing a prunes lcc-3.6 tree with modifications to support fasm is

COOL Smile

bobsobol wrote:
Sorry to "bump" but this line isn't 100% accurate any more


There is NO SORRY ... please bump whenever you have a correction or new info Wink

Quote:
In the Windows version *only* FBC produces GAS output which is assembled (at least partly) with YASM via an "as.exe" proxy


I can't find YASM inside FB package Sad

Quote:
even though it would seem to be from the FB documentation


Please clarify at FB forum.

Quote:
There is also an experimental branch of FBC to compile the freeBASIC source to portable C, so that FBC can more easily be adapted for other platforms.


Right ... for XXX-86 , it still uses GGG Great GNU GAS ... after GCC and before LD Shocked

BASIC >--FBC--> C >--GCC--> ASM >--GAS--> COFF >--LD--> EXE (finally, damn)

--------------------------------------------------------------------------

BTW, there is (reportedly) a crime of murder in progress, LLVM / Clang http://llvm.org/ is replacing / killing GCC Shocked ... anyone has an idea how far it supports inline ASM or uses ASM as intermediate compilation step ?

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 12 Sep 2011, 07:59
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 843
Location: Jakarta, Indonesia
TmX 14 Sep 2011, 09:06
DOS386 wrote:

BTW, there is (reportedly) a crime of murder in progress, LLVM / Clang http://llvm.org/ is replacing / killing GCC Shocked ... anyone has an idea how far it supports inline ASM or uses ASM as intermediate compilation step ?


maybe this?
http://donsbot.wordpress.com/2010/02/21/smoking-fast-haskell-code-using-ghcs-new-llvm-codegen/
Post 14 Sep 2011, 09:06
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 18 Sep 2011, 09:03
> maybe this?

AT&T Sad In my test it brews that one too, could not get masm=intel working, masm=fasm even less ... new compiler, old faulty syntax Sad
Post 18 Sep 2011, 09:03
View user's profile Send private message Reply with quote
KevinN



Joined: 09 Oct 2012
Posts: 160
KevinN 08 Mar 2013, 00:56
can you get asm preprocess out of purebasic or any of these?

[edit: nevermind, I see other stuff where people were modifying lcc output etc to use fasm as backend. still don't know about purebasic though- would be cool considering its already built to be crossplatform and pretty much a RAD]
Post 08 Mar 2013, 00:56
View user's profile Send private message Reply with quote
Bob++



Joined: 12 Feb 2013
Posts: 92
Bob++ 09 Mar 2013, 16:26
On linux:

pcc(portable C compiler) - GAS
icc(intel C compiler) - GAS

I can't find much information about bcc(bruce's C compiler) but I think that it generate as86 assembly. I'm sure its ld is the ld86(part of as86)
Post 09 Mar 2013, 16:26
View user's profile Send private message Reply with quote
KevinN



Joined: 09 Oct 2012
Posts: 160
KevinN 11 Mar 2013, 23:30
Any of these compilers with fasm backend capable of generating .ASM file?
Post 11 Mar 2013, 23:30
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 843
Location: Jakarta, Indonesia
TmX 12 Mar 2013, 14:19
KevinN wrote:
Any of these compilers with fasm backend capable of generating .ASM file?


Unfortunately most of them are not.

Anyway...

Simple C Compiler
Quote:

The build system now is now a makefile, which replaces both of the older scripts. In addition, the backend is now FASM rather than NASM
Post 12 Mar 2013, 14:19
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  Next

< 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.