flat assembler
Message board for the users of flat assembler.

Index > Heap > FASM forum is the best of all asm forums.

Author
Thread Post new topic Reply to topic
sid123



Joined: 30 Jul 2013
Posts: 340
Location: Asia, Singapore
sid123
Well,
NASM Forum - BS. They NEED A moderator to approve requests. Got rejected after 2 DAYS of registration, and for no reason.
MASM - The assembler sucks, The forum's a bit better though but assembler is what matters at the first place.
YASM - No Forum.
GAS - Well, there's a mailing list but mailing lists are a thing of the past, It's 2014 man! FORUMS RULE!
OSDev.org - Well, this is the only forum close to FASM forum where you can discuss asm stuff, but it's not meant for that, same goes to the FASM's OS Construction forum vs OSDev.org
WinAsm - ?? Dead ??

_________________
"Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X
XD
Post 21 Mar 2014, 10:49
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Let me guess:

NASM - written in C?
MASM - written in C?
YASM - written in C?
GAS - written in C?
WinAsm - written in C?

Perhaps there is some common theme there that I am not seeing? Wink

C programmers don't care to discuss that dirty assembly stuff. "Eww, go away you horrible assembly coders. We only use that nasty asm stuff as a backend to the uber C compiler."
Post 21 Mar 2014, 10:56
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
C, written in BASIC?
BASIC, written in FORTRAN?
FORTRAN, written in COBOL?
COBOL, written in PASCAL?
etc...

where is pure asm? here, nowhere else!!!

Laughing
Post 21 Mar 2014, 11:10
View user's profile Send private message Visit poster's website Reply with quote
badc0de02



Joined: 25 Nov 2013
Posts: 216
Location: %x
badc0de02
fasm written in tasm, tasm written in C written in BASIC, BASIC written in a bunch of resistors
Post 21 Mar 2014, 18:14
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel
Yeah sure, you always need some already-existing compiler compiling code in an already-existing language to create a new compiler with its own syntax. That sounds straightforward.

Only difference is that fasm has been implemented in TASM-syntax assembly and has since been autoassemblable in its own syntax, while all the other examples are still written in C (decades later).
That would be like having a GCC or Clang written in, say Pascal, instead of C/C++.

By the way, what's with C being written in BASIC?! The first compiler was written in PDP-7/11 assembly mainly for the implementation of Unix, and like Unix, was rewritten in C.
Today's most popular C compilers are written either in C or C++.
Post 21 Mar 2014, 20:09
View user's profile Send private message Reply with quote
m3ntal



Joined: 08 Dec 2013
Posts: 296
m3ntal
New project started: Native ARM Assembler - written in FASMARM. It will take time to verify the instructions. Eventually, I'd like for it to self-assemble itself to improve the assembler on Raspberry PI (linux ELF) or Microsoft Surface (if I can find one used with a damaged screen for about $70, only need HDMI). Then make a standalone HL compiler for it.

I hope this encourages someone to convert FASM to ARM. Why not just macro-ize it? Example: macro inc r { adds r, 1 }. ARM can easily do what X86 can.
Post 22 Mar 2014, 12:48
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 340
Location: Asia, Singapore
sid123
m3ntal: Cool Cool. Is there a x86 port? I would like see some ARM assemblers running on my OS, FASM is already ported, and some other third party tools like ld etc., I was looking for a small yet powerful ARM assembler.
Well,
FASM is cool because it's an "assembler", NASM/YASM/etc. are just some random C programs that
can ouput machine code. Smile
IMO if a compiler/assembler cannot compile/assemble itself, well
Code:
if (compiler/assembler != compile/assembleitself)
{
       respect--;
}    
Post 22 Mar 2014, 13:04
View user's profile Send private message Reply with quote
m3ntal



Joined: 08 Dec 2013
Posts: 296
m3ntal
Keywords: Native ARM assembler and started.
Post 22 Mar 2014, 13:35
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel
Nice project you have there, m3ntal. Good luck!
Post 22 Mar 2014, 15:46
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 can attach files in this forum
You can download files in this forum


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

Website powered by rwasa.