The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Anything like "One-Minute Marvels" for the 41C?
05-25-2015, 09:17 PM
Post: #1
Anything like "One-Minute Marvels" for the 41C?
In case you're not familiar with it, One-Minute Marvels was a compilation of short, useful routines for the 48 series. They were generally EXTREMELY compact and elegant, the sort of things you could leave in RAM as part of your toolbox.

Are there any similar compilations for the 41? Math routines (GCD, LCM, nCr, nPr, etc.), utilities, stack/register tricks, or anything else would be interesting, both to add functionality, and pick up on some programming techniques.

For example, I've gotten GCD down to this, but I'll bet it can be done more elegantly: (preserves stack and fills T properly, but not L)

Code:
LBL "GCD"
LBL 00
MOD
LASTX
X<>Y
X!=0?
GTO 00
CLX
+
RTN
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Anything like "One-Minute Marvels" for the 41C? - Dave Britten - 05-25-2015 09:17 PM



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