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
Alpharegister - XEQ
storep - The prog remains in main memory but can be deleted (
CLP) if memory needed - To restore to main memory put name in
Alphaand thenXEQGETSUB
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 theCSTprogram chooser to make it easier if multiple calculations are required ==== Example==== Days between 27/2/66 and 31/5/2227.021966ENTER</key>31.052022XEQ</key> ALPHA</key> D</key> D</key> Alt</key> Y</key> Shift</key> ALPHA</key> Result =20,547Check :365÷</key> Result56.293I'm 56 and a bit… sounds right… ===== XYZALM ===== Various Alarm functions Put any message for the Alarm into theALHPAregister Load the stack registers with: * Z : Repeat IntervalHHHH.MMSSsor0* Y : DateDD.MMYYYYor0* X : TimeHH.MMSSsExecuteXYZALMto set the alarm When alarm goes off it isAcknowledgedby pressing any key exceptSTO. * Acknowledging a non-repeating (i.e.Zwas0) alarm cancels it. * Acknowledging a repeating alarm cancels it and re-arms it, adding theRepeat Intervalto create the new alarm time. * Pressing STO</key> cancels the alarm but makes it aPAST DUEalarm. ==== Example ==== Set alarm for 22:20, today, not repeating, calledSupper* 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> At22:20the alarm is activated.ALPHAshowsSUPPER. Alarm is cancelled by pressing any key but STO</key> Pressing STO</key> creates aPAST 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 5R/Sand⇑⇓steps through all alarms. To clear an alarm from the Catalogue:SHIFTCtrl( whereCtrlis√'' 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: (external edit)
