code: 9ferno

ref: 83246e296ea433b65b9d295b5e08fedd39ff1ab7
dir: /man/1/asm/

View raw version
.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.