Post Reply 
HP-42s Entering 4 complex numbers on the stack
05-30-2023, 06:42 AM (This post was last modified: 05-30-2023 06:44 AM by Werner.)
Post: #13
RE: HP-42s Entering 4 complex numbers on the stack
(05-28-2023 05:14 PM)Vincent Weber Wrote:  We still need a variable for the matrix, no way to put it on the stack and at the same time to fill the stack!

If you don't care about LASTX:

00 { 38-Byte Prgm }
01▸LBL "CPX"
02 1
03 4
04 NEWMAT
05 ENTER
06 COMPLEX
07 EDIT
08 STOP
09 EXITALL
10 EDIT @ reposition at (1,1)
11 ENTER
12 ↓
13 ENTER
14 ↓
15 ENTER
16 ↓
17 STO ST L
18 EXITALL
19 X<> ST L
20 END

The first EXITALL may be omitted if you keep the same usage instructions.
Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-42s Entering 4 complex numbers on the stack - Werner - 05-30-2023 06:42 AM



User(s) browsing this thread: 2 Guest(s)