summaryrefslogtreecommitdiff
path: root/static/inferno/man1/asm.1
diff options
context:
space:
mode:
Diffstat (limited to 'static/inferno/man1/asm.1')
-rw-r--r--static/inferno/man1/asm.148
1 files changed, 48 insertions, 0 deletions
diff --git a/static/inferno/man1/asm.1 b/static/inferno/man1/asm.1
new file mode 100644
index 00000000..27be87a8
--- /dev/null
+++ b/static/inferno/man1/asm.1
@@ -0,0 +1,48 @@
+.TH ASM 1
+.SH NAME
+asm, disdump \- Dis assembler, Dis disassembler
+.SH SYNOPSIS
+.B asm
+.RB [ -l ]
+.I file
+.br
+.B disdump
+.IR file ...
+.SH DESCRIPTION
+.I Asm
+reads one Dis assembly language
+.I file
+and translates it
+into instructions for the Dis virtual machine.
+The output is written to a file whose name is created
+by taking the last element
+of the input file, stripping any extension, and appending
+.B \&.dis
+For example, the output file for
+.B abc
+would be
+.BR abc.dis ;
+the output file for
+.BR dir/def.s ,
+would be
+.BR def.dis .
+.PP
+The assembler has one option:
+.TP
+.B -l
+Generate a listing, showing the generated object code.
+.PP
+.I Disdump
+prints to the standard output the Dis virtual machine
+instructions in each of its Dis
+.I file
+arguments.
+.SH SOURCE
+.B /appl/cmd/asm
+.br
+.B /appl/cmd/disdump.b
+.SH "SEE ALSO"
+.IR emu (1),
+.IR limbo (1)
+.PP
+``The Dis Virtual Machine'' in Volume 2.