The Museum of HP Calculators


Cross Product for the HP-29C

This program is by Adam Szporer and is used here by permission.

This program is supplied without representation or warranty of any kind. Adam Szporer and The Museum of HP Calculators therefore assume no responsibility and shall have no liability, consequential or otherwise, of any kind arising from the use of this program material or any part thereof.

Overview

Registers:      1,2,3 → x,y,z of u
                4,5,6 → x,y,z of v
                7,8,9 → x,y,z of u X v

After running, the components of u X v are in registers 7, 8, and 9 as well as the stack. Use R↓ to view X, Y, and Z, respectively.

Listing

01      15 13 01        g LBL 1
02         24 02        RCL 2
03         24 06        RCL 6
04            61        ×
05         24 05        RCL 5
06         24 03        RCL 3
07            61        ×
08            41        -
09         23 07        STO 7
10         24 04        RCL 4
11         24 03        RCL 3
12            61        ×
13         24 01        RCL 1
14         24 06        RCL 6
15            61        ×
16            41        -
17         23 08        STO 8
18         24 01        RCL 1
19         24 05        RCL 5
20            61        ×
21         24 04        RCL 4
22         24 02        RCL 2
23            61        ×
24            41        -
25         23 09        STO 9
26         24 08        RCL 8
27         24 07        RCL 7
28         15 12        g RTN

Go back to the software library
Go back to the main exhibit hall