Friday, April 11, 2008

Programming assignment

Three programs:

dotprod.asm, the dot product of two vectors in 3-space, so that
<a, b, c> • <x, y, z> = ax + by + cz

matmult2.asm, the product of two 2 x 2 matrices

matmult3.asm, the product of two 3 x 3 matrices

All inputs will be integers in the range [-9, 9].

Any intelligible interface routine is acceptable.

No comments: