Page 1 of 1

Easter Program - HP12c / DM41L

Posted: Wed Mar 13, 2019 6:04 pm
by Frank.upn
Hello,
I have a question about the Easter program / Dráuzio Ribeiro de Mello

Code: Select all

01 INTG
02 STO 1
03 STO 0
04 1
05 9
06 /
07 INTG
08 1
09 9
10 *
11 STO-0
12 RCL 0
13 1
14 1
15 STO*0
16 /
17 STO 2
18 4
19 4
20 STO+0
21 1
22 RCL 1
23 %
24 INTG
25 +
26 3
27 2
28 %
29 .
30 2
31 +
32 INTG
33 STO+0
34 R↓
35 7
36 5
37 %
38 INTG
39 STO 3
40 STO-0
41 RCL 0
42 3
43 0
44 /
45 INTG
46 3
47 0
48 *
49 STO-0
50 RCL 2
51 RCL 0
52 x<=y?
53 GTO 55
54 GTO 57
55 1
56 +
57 STO 4
58 CHS
59 RCL 1
60 .
61 8
62 /
63 INTG
64 +
65 RCL 3
66 -
67 3
68 +
69 STO 0
70 7
71 /
72 INTG
73 7
74 *
75 RCL 0
76 -
77 RCL 4
78 -
79 5
80 4
81 +
82 RCL 1
83 EEX
84 6
85 /
86 3
87 .
88 0
89 3
90 +
91 X<>Y
92 DATE
93 FIX 6
94 GTO 00
1) HP 12c
After completing program-line 91 is a value of "49.00" in the x-register
after the line 92 "DATE", the date is correct for 2019 with 21.04.2019 indicated.

My question is, how do you get from "49.00" to the correct date?

2) DM 41L
If I enter the program in the DM 41L, is rightly at the end of the program, the current date of the calculator in the x-register ("DATE").

Can anybody help me further?
I'm confused

translated with Google translator

Re: Easter Program - HP12c / DM41L

Posted: Wed Mar 13, 2019 10:16 pm
by Frank.upn
Hi.
My above question has been solved.
Before I ask stupid questions, I should take a closer look :roll:

translated with Google translator

Re: Easter Program - HP12c / DM41L

Posted: Thu Mar 14, 2019 2:49 am
by toml_12953
Frank.upn wrote:
Wed Mar 13, 2019 10:16 pm
Hi.
My above question has been solved.
Before I ask stupid questions, I should take a closer look :roll:

translated with Google translator
When you solve it yourself, PLEASE let us know HOW you solved it!
What was the problem and how did you figure it out?

Re: Easter Program - HP12c / DM41L

Posted: Thu Mar 14, 2019 8:41 am
by Frank.upn
Hello.

My mistake was that I typed the program 1:1 in my DM 41L and the function "DATE" for HP 12c and DM 41L does not have the same function.
But I only noticed when I had already created the thread.

I work in a accounting office and for simple computation I use a Sharp 506 when it gets more complicated or a simple program (unfortunately I'm not a mathematician or computer scientist) is needed with the HP 17b or DM 42.
That's why I did not immediately notice the difference.

translated with Google translator