Easter Program - HP12c / DM41L

Forum for discussion of the DM10, DM11, DM12, DM15, DM16 and DM41 units
Post Reply
Frank.upn
Posts: 9
Joined: Fri May 26, 2017 1:15 pm
Location: Germany

Easter Program - HP12c / DM41L

Post by Frank.upn » Wed Mar 13, 2019 6:04 pm

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
HP 12cp, 17bII+, 28s, 35s, Prime; DM 41L, 42; Sharp 506; Casio 991 DEX
no higher school attendance, no bachelor, no master - but always interested in simple mathematics

Frank.upn
Posts: 9
Joined: Fri May 26, 2017 1:15 pm
Location: Germany

Re: Easter Program - HP12c / DM41L

Post by Frank.upn » 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
HP 12cp, 17bII+, 28s, 35s, Prime; DM 41L, 42; Sharp 506; Casio 991 DEX
no higher school attendance, no bachelor, no master - but always interested in simple mathematics

toml_12953
Posts: 504
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: Easter Program - HP12c / DM41L

Post by toml_12953 » Thu Mar 14, 2019 2:49 am

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?
Tom L

Nerd Emeritus

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

Frank.upn
Posts: 9
Joined: Fri May 26, 2017 1:15 pm
Location: Germany

Re: Easter Program - HP12c / DM41L

Post by Frank.upn » Thu Mar 14, 2019 8:41 am

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
HP 12cp, 17bII+, 28s, 35s, Prime; DM 41L, 42; Sharp 506; Casio 991 DEX
no higher school attendance, no bachelor, no master - but always interested in simple mathematics

Post Reply