File: subn.html

package info (click to toggle)
agistudio 1.2.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,600 kB
  • ctags: 1,506
  • sloc: cpp: 16,676; makefile: 53
file content (18 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML>
<HEAD>
<TITLE>subn</TITLE></HEAD>
<BODY>
<h1>subn</h1>
<B>Category</B><p>
<a href="math_commands.html">Mathematical commands</a><p>
<B>Syntax</B><p>
<p>
subn(vA,B);<p>
vA -= B;<p>
vA = vA - B;<p>
<B>Description</B><p>
<p>
B is subtracted from vA. Since a var can only be from 0-255, if the result is less than 0, then the value wraps around, e.g. 10 - 12 would give 254.<p>
<B>See also</B><p>
<a href="subv.html">subv</a><p>
</BODY></HTML>