Post Reply 
HP41C - workaround for the SIZE? missing
04-22-2016, 06:57 AM (This post was last modified: 04-23-2016 12:06 PM by Werner.)
Post: #22
RE: HP41C - workaround for the SIZE? missing
If speed is what you're after, then this is probably better:
(number entry is slow on a 41 compared to other instructions)

(38 bytes without END, 29 without LBL and END)

Code:
>LBL"SIZE?"
 255
 ABS
 50
 LASTX
 ISG X
>LBL 01
 SF 25
 ARCL IND Z
 %
 FC?C 25
 CHS
 ST+ Z
 ABS
 INT
 X>0?
 GTO 01
 LASTX
 RUP
 +
 CLA
 END

Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP41C - workaround for the SIZE? missing - Werner - 04-22-2016 06:57 AM



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