summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/as80.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man1/as80.1
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man1/as80.1')
-rw-r--r--static/unix-v10/man1/as80.180
1 files changed, 80 insertions, 0 deletions
diff --git a/static/unix-v10/man1/as80.1 b/static/unix-v10/man1/as80.1
new file mode 100644
index 00000000..4babfcfb
--- /dev/null
+++ b/static/unix-v10/man1/as80.1
@@ -0,0 +1,80 @@
+.h 1 1 2/3/78
+.th as80
+.sh NAME
+as80 \*- assembler for the 8080 and Z80 microprocessors
+.sh SYNOPSIS
+.bd as80
+[
+.bd \*-lhzi
+] name ...
+.sh DESCRIPTION
+.it as80
+assembles the concatenation of the named files.
+The output of the assembly is left on the file
+.bd "80.out".
+It is executable if no errors occurred
+during the assembly,
+and if there were no unresolved external references.
+.s1
+The -l option causes as80 to produce a listing
+on the standard output.
+.s1
+The -h option causes as80 to produce the output listing
+in hex. Octal is default.
+.s1
+Register names: a,b,c,d,e,h,l,af,bc,de,hl,ix,iy,sp
+.br
+Condition codes: nz,z,nc,c,po,pe,p,m
+.br
+Psuedo operations: .globl,.text.textorg,.data,.dataorg
+.br
+ .bss,.bssorg,.byte,.word,.list,
+.br
+.s1
+.s3
+.sh FILES
+as80 the assembler
+.br
+"80.out"
+.br
+OPCODES the external instruction set
+.sh DIAGNOSTICS
+When
+an input file cannot be read, its name and
+a "can't open" diagnostic is produced and assembly
+ceases.
+Whenever sytactic or semantic errors are
+encountered,
+a single-character diagnostic is produced.
+The possible diagnostics are:
+.s3
+.ta 3
+\. moving dot backwards
+.br
+[ byte constant error
+.br
+( Parentheses error
+.br
+" String not terminated properly
+.br
+E Illegal expression
+.br
+R Illegal register usage
+.br
+G Garbage (unknown) character
+.br
+M Multiply defined symbol
+.br
+P `\fB.\fR' different in pass 1 and 2
+.br
+T A 16 bit expression has been truncated to an 8 bit value
+.br
+U Undefined symbol
+.br
+X Syntax error
+.br
+.sh BUGS
+.s1
+If .list 1 is ever encountered,
+a listing will start to come out
+whether or not -l was selected.