Post Reply 
New Saturn asm "add loop" benchmark for the HP48G
11-09-2023, 10:51 AM (This post was last modified: 11-11-2023 11:03 AM by dlidstrom.)
Post: #31
RE: New Saturn asm "add loop" benchmark for the HP48G
This program will run until keypress and will calculate the per minute number of additions. Using iHP48 on my iPhone Xs it reports about 5-7 million (!) additions. Imagine a physical device at that speed!

Code:

::
 SysTime
 %0
 BEGIN
 ZERO
 # 1000 ( try different values here )
 #1+_ONE_DO
 #1+
 LOOP
 UNCOERCE
 %+
 GETTOUCH
 UNTIL
 DROP
 SysTime
 ROT
 bit-
 HXS>%
 % 8192
 %/
 2DUP
 %/
 % 60
 %*
;

2xHP48GX, HP 50g, two Retrotronik ram cards, DM42
/Daniel Lidström
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New Saturn asm "add loop" benchmark for the HP48G - dlidstrom - 11-09-2023 10:51 AM



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