[comp.realtime] 8x51 Assemblers in PD ??

dwells@fits.cx.nrao.edu (Don Wells) (06/12/91)

We (the Correlator project portion of NRAO's Very Long Baseline Array
project) are using about eighty 8751's as embedded processors in our
signal processing system. (Higher-level realtime control and data
acquisition uses MVEM147s with vxWorks.) We have been assembling
executables for the 8751s using commercial assemblers executing under
DOS on PCs. It would be nice if we could assemble the code within our
SunOS development and code management environment. I am aware of a few
commercial 8x51 assemblers under Unix, but they are somewhat expensive
compared to the DOS versions.

Are there any PD assemblers available which could be made to assemble
8x51 code?


--

Donald C. Wells             Associate Scientist        dwells@nrao.edu
National Radio Astronomy Observatory                   +1-804-296-0277
Edgemont Road                                     Fax= +1-804-296-0278
Charlottesville, Virginia 22903-2475 USA            78:31.1W, 38:02.2N 

mussar@bcars53.uucp (G. Mussar) (06/12/91)

In article <DWELLS.91Jun11133727@fits.cx.nrao.edu> dwells@fits.cx.nrao.edu (Don Wells) writes:
>We (the Correlator project portion of NRAO's Very Long Baseline Array
>project) are using about eighty 8751's as embedded processors in our
>signal processing system. (Higher-level realtime control and data
>acquisition uses MVEM147s with vxWorks.) We have been assembling
>executables for the 8751s using commercial assemblers executing under
>DOS on PCs. It would be nice if we could assemble the code within our
>SunOS development and code management environment. I am aware of a few
>commercial 8x51 assemblers under Unix, but they are somewhat expensive
>compared to the DOS versions.
>
>Are there any PD assemblers available which could be made to assemble
>8x51 code?

Dave Dunfield markets a number of 8051 products. I've taken the following
from his latest catalog (found it in the demo/Shareware version on BIX).
He gives his address as:

Dunfield Development Systems
P.O. Box 31044
Nepean, Ontario (Canada)
K2B 8S8
-----------------------------------------------------
MICRO-C: Re-targetable 'C' compiler/utilities with source & documentation

    A portable 'C' environment including Compiler, PreProcessor, Optimizer,
    Libraries and Utilities. This is an original work, and is NOT "Yet another
    version" of the "Small-C" compiler.
    - LOTS of documentation (>350 pages) & complete source code is included.
    - VERY portable, not designed around a specific processor.
    - Includes support for 6809, 68HC11, 8051/31, 8080/85/Z80 and 8086,
      and detailed information on porting to other CPU's.
    - 6809, 68HC11, 8051/31 and 8080/85/Z80 code generators are compatible
      with my shareware cross assemblers. 80x86 is MASM compatible.
    - Produces very good quality code.
    - Includes source code for many useful example programs, including
      a pop-up (TSR) ANSI terminal with XMODEM, a BASIC interpreter,
      an 8086 assembler and much more.
    Current rev     : 2.12
    Software price  : $49.95    (Includes TWO diskettes)

XASM: A series of cross assemblers and related utility programs

    - Includes 6800, 6801/6803, 6805, 6502, 6809, 68HC11, 8051/31 and
      8080/8085 cross assemblers.
    - Output files in either INTEL or MOTOROLA hex format.
    - Fully compatible with the code generators of my MICRO-C compiler.
    - Many example programs: Powerful software and hardware debug monitors,
      BASIC interpreter, FORTH compiler, and many more.
    - Utility programs included:
        MACRO   - Powerful macro pre-processor.
        CREF    - Cross-references assembler source files.
        CVTASM  - Helps convert ASM sources with differing syntax.
        PSOURCE - Protects distributed source code.
        HEXFMT  - General HEX file manipulation, including:
            - Calculate checksums over all or part of code file.
            - Reformat output record type (INTEL/MOTOROLA/BINARY) & length.
            - Change base and load address of code image.
            - Control number of consecutive $FF (unprogrammed) bytes
              written to output file.
    Current rev     : 1.21
    Software price  : $24.95    (Includes ONE diskette)


EMILY: A PC based 8051/52 simulator.

    A software simulator/emulator for the Intel 8051/8052 series of
    microcontrollers. EMILY is capable of "real time" simulation, and
    features a very easy to use "windowed" user interface.
    - Supports full 64K of PROGRAM and 64K of DATA memory. DATA and PROGRAM
      memory may also be overlapped into a single 64K address space.
    - Optional hardware emulation "pod" plugs into CPU socket of target
      system, and allows you to include the physical I/O lines, timers,
      serial port etc. in your simulation.
    - Single step, Multi Step, Animate and Full Speed execution modes,
      with 4095 instruction traceback recorder in all modes.
    - Simultaneous on-screen displays of program disassembly, internal
      memory, CPU registers and simulation messages.
    - Full screen editors for CPU registers, Special Function Registers
      (SFR's), and each of the INTERNAL, EXTERNAL DATA and PROGRAM memory
      spaces. All of the above may be viewed/altered at any time during the
      debugging session.
    - Multiple breakpoints are transparent to the user program.
    - Supports the additional SFR's and internal RAM of the 8052 series.
    - Many more features.
    Current rev         : 1.0
    Software price      : $99.95    (Includes diskette and manual)


I know he gives out source code for the compilers. You should be able to
negotiate source code for the xasm and run it on a Sun.
--
-------------------------------------------------------------------------------
Gary Mussar  |Internet:  mussar@bnr.ca                |  Phone: (613) 763-4937
BNR Ltd.     |                                        |  FAX:   (613) 763-2626

dwells@fits.cx.nrao.edu (Don Wells) (06/12/91)

In article <DWELLS.91Jun11133727@fits.cx.nrao.edu>
dwells@fits.cx.nrao.edu (Don Wells) (YES, *ME*) writes:
   Are there any PD assemblers available which could be made to assemble
   8x51 code?

Before I asked this question I had already searched the Archie
database for the string "8751" and found nothing. I realized an hour
ago that that was a mistake. This family of CPUs is generically
referred to as "8051" or "8x51", especially the former. I went back to
Archie and tried "8051", and found that the answer to my question is
*YES*.

I append an edited version of my session so that those of you who are
not familiar with Archie can see how easy it can be to make such a
search. I have edited the output to condense it and to delete a number
of irrelevant pattern matches with numeric strings.  It appears that
there may be at least two, and possibly three, different PD assemblers
available for the 8x51 CPUs (compare the correlations of the sizes,
dates and names of the files in the various servers). If you don't
have Internet service you can still access the Archie service by
sending E-mail queries to the server (send the word 'help' as the
subject or in the body of a message to archie@cs.mcgill.ca).

I have not yet fetched any of the files which Archie told me about,
but I will RSN.

=-=-=-=-=-=-=-= Archie session 11June91 searching for "8051" =-=-=-=-=-=-=-=-=
telnet 132.206.2.3
Connected to 132.206.2.3.
SunOS UNIX (quiche.CS.McGill.CA)
login: archie
  ARCHIE: The McGill School of Computer Science Archive Server  [30 May 1991]
archie> prog 8051
# matches / % database searched:   33 / 99%
         =-=-=-=-= output edited and re-formatted by DCW: =-=-=-=
irisa.irisa.fr (131.254.2.3): /News/comp.sources.misc/volume10
                                             36097  Feb 14  1990   asm.8051.Z
ifi.informatik.uni-stuttgart.de (129.69.211.1): /pub/comp.sources/misc
                                             36097  Feb 14  1990   asm.8051.Z
brolga.cc.uq.oz.au (130.102.128.5): /comp.sources.misc/volume10
                                             36347  Feb 20  1990   asm.8051.Z
uunet.uu.net (192.48.96.2): /comp.sources.misc/volume10
                                             36129  Feb 13  1990   asm.8051.Z
wuarchive.wustl.edu (128.252.135.4): /usenet/comp.sources.misc/volume10
                                             36202  Feb 13  1990   asm.8051.Z
toklab.ics.osaka-u.ac.jp (133.1.12.30): /UUNET/tape5/comp.sources.misc/volume10
                                             36129  Feb 14  1990   asm.8051.Z
shape.mps.ohio-state.edu (128.146.7.200): /pub/archives/comp.sources.misc/volume10
                                             35987  Jul 10  1990   asm.8051.Z
tupac-amaru.informatik.rwth-aachen.de (192.35.229.9): /pub/oldnews/comp.sources.misc/volume.10
                                             36288  Apr  3  1990   asm.8051.Z
hpcsos.col.hp.com (15.255.240.16): /ns32k/beowulf
                                              1024  Oct 30  1990   a-8051
keos.helsinki.fi (128.214.4.83): /pub/archives/alt.sources/Frankasm
                                             59277  Dec  5  1990   As805101
hydra.helsinki.fi (128.214.4.29): /pub/archives/alt.sources/Frankasm
                                             59277  Dec  5 18:10   As805101
keos.helsinki.fi (128.214.4.83): /pub/archives/comp.sources.misc
                                             84950  Feb 14  1990   asm.8051
athene.uni-paderborn.de (131.234.2.32): /news/misc/volume10
                                             84795  Feb 16  1990   asm.8051
hydra.helsinki.fi (128.214.4.29): /pub/archives/comp.sources.misc
                                             84950  Feb 14  1990   asm.8051
reseq.regent.e-technik.tu-muenchen.de (192.48.107.50): /public/news/comp.sources.misc/1
                                             36037  Feb 19  1990   asm-8051..v10i060.Z

archie> quit
Connection closed by foreign host.

--

Donald C. Wells             Associate Scientist        dwells@nrao.edu
National Radio Astronomy Observatory                   +1-804-296-0277
Edgemont Road                                     Fax= +1-804-296-0278
Charlottesville, Virginia 22903-2475 USA            78:31.1W, 38:02.2N 

markz@ssc.UUCP (Mark Zenier) (06/20/91)

In article <DWELLS.91Jun11184050@fits.cx.nrao.edu>, dwells@fits.cx.nrao.edu (Don Wells) writes:
>    Are there any PD assemblers available which could be made to assemble
>    8x51 code?
> ...
> I have not yet fetched any of the files which Archie told me about,
> but I will RSN.
> keos.helsinki.fi (128.214.4.83): /pub/archives/alt.sources/Frankasm
>                                              59277  Dec  5  1990   As805101
> hydra.helsinki.fi (128.214.4.29): /pub/archives/alt.sources/Frankasm
>                                              59277  Dec  5 18:10   As805101

If you want to use these you'll also need the Base01 to Base03 files and have
yacc or equivalent.

No one has sent me any bug reports yet, so either I didn't make any
mistakes or no one is using them. ;-)

Mark Zenier  markz@ssc.uucp  mzenier@polari.uucp