add.html 550 B

1234567891011121314151617181920212223242526272829
  1. <html>
  2. <head>
  3. <title>add</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>add</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. add - add two numbers
  9. <h3>Synopsis</h3>
  10. /testbin/add <em>n1</em> <em>n2</em>
  11. <h3>Description</h3>
  12. add prints the sum of the two numbers passed as arguments.
  13. <h3>Requirements</h3>
  14. add uses the following system calls:
  15. <ul>
  16. <li> <A HREF=../syscall/write.html>write</A>
  17. <li> <A HREF=../syscall/_exit.html>_exit</A>
  18. </ul>
  19. add should work properly once the basic system calls are complete.
  20. </body>
  21. </html>