Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: =?ISO-8859-1?Q?=22C=2E_Bergstr=F6m=22?= Newsgroups: comp.compilers Subject: Re: Best tools for writing an assembler? Date: Wed, 19 Feb 2014 11:14:39 +0700 Organization: Compilers Central Lines: 13 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <14-02-019@comp.compilers> References: <14-02-018@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: miucha.iecc.com 1392848491 93240 64.57.183.58 (19 Feb 2014 22:21:31 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Wed, 19 Feb 2014 22:21:31 +0000 (UTC) Keywords: assembler Posted-Date: 19 Feb 2014 17:21:31 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1098 On 02/19/14 07:04 AM, tpphysik@gmail.com wrote: > I want to write an assembler for my own processor architecture. It > would be of middle complexity. ... I'd recommend to just retarget an existing infrastructure to your arch. Both of these are c++ with some level of extensibility (yasm-nextgen fork which is used in production) https://github.com/path64/assembler LLVM MC - Create the appropriate tabledefs for your target