Article View: comp.arch
Article #11151Re: RISC assemblers question
From: Homayoon Akhiani
Date: Thu, 17 Dec 1992 21:38
Date: Thu, 17 Dec 1992 21:38
37 lines
2217 bytes
2217 bytes
|> |>masticol@cadenza.rutgers.edu (Steve Masticola) writes: |>: Hi, |>: |>: I've met a couple of people who have attempted to write assemblers for |>: RISC machines, who say that it's a difficult job. Can someone give me |>: an inkling as to why? |>: |>: I'm not saying that it isn't; the reason just isn't obvious to me |>: right now. |>: |>: Thanks, |>: - Steve (masticol@cs.rutgers.edu). |> To give you an example, You might want to look at gatekeeper.dec.com /pub/DEC/Alpha/assembler/ There are sources and user guide for an AlphaAxp assembler/Linker. -done by 2 engineer in a week. -Written in protable C (meaning the source will compile on PC(GNU C),Mac(THINK C), Mips, Sun, VAX these are the platforms that we had access to check the protability). As one of the authors of this assembler, I can assure you that if the machine architecture is free from "goofy-ness", writing one is a basic programming excercise. Actually, if you look at the sources you might be able to retarget it to any other 32bit instruction size architecture. -- ------------------------------------------------------------------------------- Homayoon Akhiani "Turning Ideas into ... Reality" Digital Equipment Corporation "Alpha, The New Beginning" 77 Reed Rd. Hudson, MA 01701 "All Rights Reserved. Copyright(c)1992" Email: akhiani@ricks.enet.dec.com "The words are mine, and not my employer" -------------------------------------------------------------------------------
Technical Details
Message-ID:
<1992Dec17.213812.885@ryn.mro4.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!ryn.mro4.dec.com!ricks.enet.dec.com!akhianiReferences:
<Dec.17.10.16.36.1992.17493@cadenza.rutgers.edu> <1992Dec17.173930.3235@meiko.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!ryn.mro4.dec.com!ricks.enet.dec.com!akhiani From: akhiani@ricks.enet.dec.com (Homayoon Akhiani) Newsgroups: comp.arch Subject: Re: RISC assemblers question Message-ID: <1992Dec17.213812.885@ryn.mro4.dec.com> Date: 17 Dec 92 21:38:12 GMT References: <Dec.17.10.16.36.1992.17493@cadenza.rutgers.edu> <1992Dec17.173930.3235@meiko.com> Sender: news@ryn.mro4.dec.com (USENET News System) Reply-To: akhiani@ricks.enet.dec.com (Homayoon Akhiani) Organization: Digital Equipment Corporation Lines: 37