public:calculator:guides:dm41_snippets
This is an old revision of the document!
DM41X Snippets
Extended Memory
Copy a program to Extended Memory:
- Put Prog's name in
Alpha
register - XEQ
storep
- The prog remains in main memory but can be deleted (
CLP
) if memory needed - To restore to main memory put name in
Alpha
and thenXEQ
GETSUB
DDAYS
To find the number of days between two dates
- enter 1st date into Y-stack as
dd.mmyyyy
- key in 2nd date into X-stack as
dd.mmyyyy
- XEQ
</key> ALPHA
</key> D
</key> D
</key> Alt
</key> Y
</key> Shift
</key> ALPHA
</key> * result is the difference in days. *
DDAYScan be added to the
CSTprogram chooser to make it easier if multiple calculations are required ==== Example==== Days between 27/2/66 and 31/5/22
27.021966ENTER
</key>
31.052022XEQ
</key> ALPHA
</key> D
</key> D
</key> Alt
</key> Y
</key> Shift
</key> ALPHA
</key> Result =
20,547Check :
365÷
</key> Result
56.293I'm 56 and a bit… sounds right… ===== XYZALM ===== Various Alarm functions Put any message for the Alarm into the
ALHPAregister Load the stack registers with: * Z : Repeat Interval
HHHH.MMSSsor
0* Y : Date
DD.MMYYYYor
0* X : Time
HH.MMSSsExecute
XYZALMto set the alarm When alarm goes off it is
Acknowledgedby pressing any key except
STO. * Acknowledging a non-repeating (i.e.
Zwas
0) alarm cancels it. * Acknowledging a repeating alarm cancels it and re-arms it, adding the
Repeat Intervalto create the new alarm time. * Pressing STO
</key> cancels the alarm but makes it a
PAST DUEalarm. ==== Example ==== Set alarm for 22:20, today, not repeating, called
Supper* ALPHA
</key> Shift
</key> U
</key> P
</key> P
</key>E
</key>R
</key> ALPHA
</key> * 0
</key> ENTER
</key> (for Z = repeat interval) * 0
</key> ENTER
</key> (for Y = Date = Today) *
22.20XEQ
</key> ALPHA
</key> X
</key> Y
</key> Z
</key> Alt
</key> L
</key> M
</key> ALPHA
</key> At
22:20the alarm is activated.
ALPHAshows
SUPPER. Alarm is cancelled by pressing any key but STO
</key> Pressing STO
</key> creates a
PAST DUEalarm which means it gets re-triggered if the calculator is turned off. It can be cancelled and deleted by pressing any key (except STO
</key>) and then the calculator will turn off. Pressing STO
</key> will create a new Past Due alarm, and allow the calculator to turn off. On turn on the Past Due alarm will still exist and turning off will trigger it again. A Past Due alarm is useful to remind you that something happened previously and turning the calculator off is a memory-jogger.
CATALOGUE 5and
⇑steps through all alarms. To clear an alarm from the Catalogue:
SHIFT( where
Ctrlis
√'' on top row )— John Pumford-Green 31/05/22 13:13Page last updated:06/03/25 06:49 GMT
public/calculator/guides/dm41_snippets.1712531384.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)