SPARC assembler for NetBSD/sparc 1.1 0/10

SPARC assembler for NetBSD/sparc 1.1 0/10

Post by Bruce Edig » Wed, 26 Mar 1997 04:00:00



Archive-name: sparc_asm

This is a SPARC V8 assembler for NetBSD/sparc 1.1.  It is a standard, two-pass
assembler based on a yacc LALR(1) grammar, and a lex tokenizer.  The assembler
does most of the same things that the old SunOS 4.1.x assembler does, and all
the things that the GNU assembler does that are used in the assembly language
parts of the NetBSD kernel.

I believe there are 10 parts to the source code distribution.

Attached is the shar file for the README and the man page.  There's a
troff document (ms macros) describing this assembler in part 2/10.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       README
#       asm.1
#
echo x - README
sed 's/^X//' >README << 'END-of-README'
XPermission to use, copy, modify, and distribute this software and
Xits documentation for any purpose and without fee is hereby granted,
Xwithout any conditions or restrictions.  This software is provided
X``as is'' without express or implied warranty.
X
XThis is a SPARC V8 assembler for NetBSD/sparc 1.1.  It is a standard, two-pass
Xassembler based on a yacc LALR(1) grammar, and a lex tokenizer.  The assembler
Xdoes most of the same things that the old SunOS 4.1.x assembler does, and all
Xthe things that the GNU assembler does that are used in the assembly language
Xparts of the NetBSD kernel.
END-of-README
echo x - asm.1
sed 's/^X//' >asm.1 << 'END-of-asm.1'
X'\" t
X.TH ASM 1 "22 MAR 1997"
X.SH NAME
Xasm \- SPARC assembler
X.SH SYNOPSIS
X.B asm
X[
X.B \-O
X.BI \-o\  output_filename
X.B \-L
X.B \-l
X]
X.I infile
X.SH DESCRIPTION
X.B asm
XAssembles SPARC Version 8 assembly language programs and turn them into NetBSD/sparc 1.1
Xobject code modules.
X.PP
X.B asm
Xis a standard, two-pass assembler that accepts all of the SunOS assembler
Xdirectives, most of the GNU assembler directives, and all of the suggested
Xassembly language outlined in ``The SPARC Architecture Manual'', Version 8.
X.SH OPTIONS
X.TP 10
X.B \-0
XOutput information on stderr about offsets of various segments in the
Xfinal object file.
X.TP
X.BI \-o\  output_filename
XUse
X.I output_filename
Xas the name of the final object file. Default is to use
X.I a.out
Xas the name of the final object file.
X.TP
X.B \-L
XKeep (in symbol table) local symbols, which, by convention, start with `L'
X.TP
X.B \-l
XOutput symbol table debugging information on stderr
X.SH FILES
X.I infile
Xmust be specified.
X.B asm
Xreads the input file twice during assembly.
X.SH BUGS
X.PP
XThe way it handles floating-point constants is apparently compiler-dependent.
XCompiled with GNU C, it can handle the small floating-point constant called
XFLT_MIN.  Compiled with lcc v3.5, it cannot.
X.PP
XIt's slower than it ought to be.
X.PP
XIt assembles SPARC V8 mnemonics just as SPARC V9 machines are appearing.
X.SH "SEE ALSO"
X.PD
X.BR The SPARC Architecture Manual, Version 8
XISBN 0-13-825001-4, Prentice Hall, 1992
X.SH AUTHOR

X.PP
XPermission to use, copy, modify, and distribute this software and its
Xdocumentation for any purpose and without fee is hereby granted,
Xwithout any conditions or restrictions.  This software is provided ``as
Xis'' without express or implied warranty.
END-of-asm.1
exit

 
 
 

1. Difference between Sparc 2, Sparc 10 and Ultra Sparc 10

I have a sparc 2 (40mhz...Weitek upgrade to 80 in some cases.. SBUS proprietary
slots)
Sparc 10 has proprietary SBUS slots but can take  2 processesors of  various
grades of
CPU(they must be identical) . Both of these designs are roughly 7+ years old.
Both
run SOLARIS  2.6 Both have I believe SCSI 2.  The ultrasparc is a single 300+
mhz (various grades) with standard PCI slots and maybe IDE drives...

Sincerely,

J.C. Magras

2. PHIGSMON = CPU hog ??

3. Sparc 5 vs Sparc 10 vs Sparc 20

4. Redhat 7.2 - no hpfs support

5. Sparc 10 vs. P3 800MHz - Web Server (and Sparc 10 value)

6. any ideal sun new Ultra III release schedule?

7. RFI: Any known problems with BSM on a Sparc 10 running Solaris 1.1?

8. Shared Object Libraries

9. scsi bus data error sparc 10 solaris 1.1

10. Mosaic for NetBSD 1.1 on Sparc ???

11. NetBSD/sparc 1.1 port of lcc-3.5 ANSI C compiler 0 of 1

12. ListProc 6.0c & NetBSD 1.1/sparc

13. Problem with Sun (Archive) Tape Drive on NetBSD 1.1/Sparc