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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [example/] [calc/] [calc.1] - Rev 1771

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

.\" 
.TH SKEL 1 "28th Jan 1993"
.SH NAME
calc \- a very dumb calculator to demonstrate
.I deja-gnu
.SH SYNOPSIS
.B calc
.SH DESCRIPTION
.LP
.B calc
accepts the commands:
.TP
.B add #1 #2
Add #1 and #2 and print the answer.
.TP
.B multiply #1 #2
Multiply #1 and #2 and print the answer.
.TP
.B quit
.br
Exit
.TP
.B version
Print a version string.
.SH BUGS
.LP
.B multiply 2 n
gives the wrong answer (unless n == 0).

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

powered by: WebSVN 2.1.0

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