OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [example/] [calc/] [calc.1] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
.\"
2
.TH SKEL 1 "28th Jan 1993"
3
.SH NAME
4
calc \- a very dumb calculator to demonstrate
5
.I deja-gnu
6
.SH SYNOPSIS
7
.B calc
8
.SH DESCRIPTION
9
.LP
10
.B calc
11
accepts the commands:
12
.TP
13
.B add #1 #2
14
Add #1 and #2 and print the answer.
15
.TP
16
.B multiply #1 #2
17
Multiply #1 and #2 and print the answer.
18
.TP
19
.B quit
20
.br
21
Exit
22
.TP
23
.B version
24
Print a version string.
25
.SH BUGS
26
.LP
27
.B multiply 2 n
28
gives the wrong answer (unless n == 0).
29
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.