Section 12: Calculating with Matrices 153
Subtracts 1 from the elements of
matrix B and stores those values in the
same elements of B.
The result (which you can view using lB in User mode) is









1797
531
B
.
Arithmetic Operations
With matrix descriptors in both the X- and Y-registers, pressing + or
- calculates the sum or difference of the matrices.
* Result is stored in result matrix.
Result matrix may be X or Y
Example: Calculate C = B - A, where A and B are defined in the previous
example.
. and
1797
531
954
321












 BA
Designates C as result matrix.
Recalls descriptor of matrix B.
(This step can be skipped if
descriptor is already in X-register.)
Recalls descriptor of matrix A into
X-register, moving descriptor of
matrix B to Y-register.