Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #11312

Re: portable assembler

Newsgroups comp.lang.forth
From Albert van der Horst <albert@spenarnc.xs4all.nl>
Subject Re: portable assembler
Date 2012-04-15 10:58 +0000
Message-ID <m2ip5b.m4h@spenarnc.xs4all.nl> (permalink)
Organization Dutch Forth Workshop
References <844905d3-30d6-4d34-acd7-1f0ab1593f7a@v22g2000vby.googlegroups.com>

Show all headers | View raw


In article <844905d3-30d6-4d34-acd7-1f0ab1593f7a@v22g2000vby.googlegroups.com>,
hohensee  <rick_hohensee@email.com> wrote:
>You may recall that I wrote a 386 assembler in Bash about a decade
>ago. It made slashdot. That
>worked, and is in ftp.gwdg.de/pub/cLIeNUX/interim
>
>This is what I have so far for an assembler that will be source-
>portable between at least the 386
>and the ARM. This is the 386 backend mock-up with the ARM back-end
>beginnings appended. They need
>the shasm file for ab, aq and so on which send binary bytes to a file
>ala echo -en "\0222" , and for
>other machine-agnostic tasks. An assembler for the MIPS would be
>similar to the ARM. shasm
>also has token stack functions for collecting numbers in the opcode fn
>parsers, and a "make"
>replacement.
>
>None of this is tested at all. This stage is about laying it out to
>make good decisions about what
>opcodes are to be supported.

If you are willing to compromise about what instructions are available
the niche of a portable assembler is occupied by c. An unassailable
bastion I would think.

<SNIP>
It is an interesting exercise, I must admit.

Groetjes Albert

--
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Back to comp.lang.forth | Previous | NextPrevious in thread | Find similar


Thread

portable assembler hohensee <rick_hohensee@email.com> - 2012-04-14 10:12 -0700
  Re: portable assembler "A. K." <akk@nospam.org> - 2012-04-14 20:11 +0200
    Re: portable assembler hohensee <rick_hohensee@email.com> - 2012-04-14 11:55 -0700
      Re: portable assembler "A. K." <akk@nospam.org> - 2012-04-14 21:40 +0200
    Re: portable assembler BruceMcF <agila61@netscape.net> - 2012-04-15 09:31 -0700
      Re: portable assembler hohensee <rick_hohensee@email.com> - 2012-04-15 13:09 -0700
        Re: portable assembler hohensee <rick_hohensee@email.com> - 2012-04-15 15:07 -0700
        Re: portable assembler BruceMcF <agila61@netscape.net> - 2012-04-15 18:32 -0700
          Re: portable assembler hohensee <rick_hohensee@email.com> - 2012-04-21 17:07 -0700
            Re: portable assembler BruceMcF <agila61@netscape.net> - 2012-04-21 20:51 -0700
              Re: portable assembler Tarkin <tarkin000@gmail.com> - 2012-04-24 20:45 -0700
                Re: portable assembler hohensee <rick_hohensee@email.com> - 2012-04-25 17:41 -0700
                Re: portable assembler BruceMcF <agila61@netscape.net> - 2012-04-26 05:45 -0700
  Re: portable assembler Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-15 10:58 +0000

csiph-web