summaryrefslogtreecommitdiff
path: root/devel/bcc/files/as86.1
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bcc/files/as86.1')
-rw-r--r--devel/bcc/files/as86.152
1 files changed, 6 insertions, 46 deletions
diff --git a/devel/bcc/files/as86.1 b/devel/bcc/files/as86.1
index ab795837d6e..ff449309739 100644
--- a/devel/bcc/files/as86.1
+++ b/devel/bcc/files/as86.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: as86.1,v 1.2 1998/08/07 10:40:20 agc Exp $
+.\" $NetBSD: as86.1,v 1.3 2001/12/03 19:03:21 wiz Exp $
.\"
.\" This manual page has been assembled after Bruce's original bcc.doc
.\" file by Jörg Wunsch <joerg@FreeBSD.org>.
@@ -21,111 +21,78 @@
.Op Fl s Ar sym
.Ar src
.Sh DESCRIPTION
-
.Ss Overview
.Nm As86
is an assembler for 8086 or 80386 CPUs. Its syntax resembles rather
the usual 8086 assembler syntax than the AT&T-like syntax as used by
the system's assembler
.Xr as 1 .
-
+.Pp
It can also be compiled to support the Motorola 6809 CPU. The name
.Nm as86
has only been chosen to make it distinct from the system's assembler.
-
.Ss Options
-
.Bl -tag -width indent -compact
-
.It Fl 0
.Pq the digit 0
start with 16-bit code segment
-
.It Fl 3
start with 32-bit code segment
-
.It Fl a
enable partial compatibility with asld
-
.It Fl b
produce binary file, filename may follow
.Pq obsolete
-
.It Fl g
only put global symbols in object file
-
.It Fl j
force all jumps to be long
-
.It Fl l
produce list file, filename may follow
-
.It Fl m
print macro expansions in listing
-
.It Fl n
name of module follows
.Pq goes in object instead of source name
-
.It Fl o
produce object file, filename follows
-
.It Fl s
produce symbol file, filename follows
.Pq obsolete
-
.It Fl u
take undefined symbols as imported-with-unspecified segment
-
.It Fl w
don't print warnings
-
.El
-
+.Pp
The 6809 version does not support
.Fl 0 ,
.Fl 3 ,
.Fl a
or
.Fl j .
-
-
.Ss Defaults
Off or none except for these; no output is produced without a flag:
-
.Bl -tag -width indenct -compact
-
.It Fl 0 | Fl 3
native, i.\& e. 80386
-
.It Ar list
stdout
.Pq beware of clobbering next arg
-
.It Ar name
basename of the source name
-
.El
-
.Ss Input syntax
-
The following lists all acceptable names except the CPU instructions:
-
.Bl -tag -width "XXXXXXX" -compact -offset indent
-
.It Register names
-
bp, bx, di, si, eax, ebp, ecx, edi, edx, esi, esp,
ax, cx, dx, sp, ah, al, bh, bl, ch, cl, dh, dl,
cs, ds, es, fs, gs, ss, cr0, cr2, cr3, dr0, dr1,
dr3, dr6, dr7, tr3, tr4, tr5, tr6, tr7, st.
-
.It Type sizes
-
byte, dword, fword, far, ptr, pword, qword, tbyte, word.
-
.It Pseudo-operations
-
else, elseif, elseifc, endif, if, ifc;
\&.align, .ascii, .blkb, .blkw, block, .bss, .byte, comm, .comm,
\&.data, .data1, .data2, .data4, db, dd, .define, dw, end, endb,
@@ -134,20 +101,14 @@ fcb, fcc, fdb, get, .globl, ident, import, include, lcomm, .lcomm,
\&.list, loc, .long, .maclist, macro, .map, org, .org, public,
rmb, .rom, .sect, set, setdp, .short, .space, .text, use16,
use32, .warn, .word, .zero.
-
.El
.Sh SEE ALSO
-
-.Xr as 1 ;
-.Xr ld86 1 ,
-.Xr bcc 1 .
-
+.Xr as 1 ,
+.Xr bcc 1 ,
+.Xr ld86 1
.Sh AUTHORS
-
This program has been developed by Bruce Evans.
-
.Sh BUGS
-
The
.Fl u
and
@@ -156,4 +117,3 @@ options are perhaps back to front because they are needed for cc1
output and Minix's make does the wrong thing with .s files left
around. However, all assembler code not written by compilers should
assemble with them turned off.
-