HP 42S Version Speed Variation
|
06-09-2014, 01:38 PM
Post: #13
|
|||
|
|||
RE: HP 42S Version Speed Variation
To post #8:
Your 1st reading accords with my intention. To post #8 & 11: I have now run a new test, the result being: Version A: 426s Version C: 608s The test was the factorization of the 11th repunit, 11,111,111,111. As you will see from the programme listing below, there are random elements involved - consequently 11,111,111,111 was set as the easily rememberd seed before the programme was invoked. On both calculators registers 04 & 05 contained the same numbers at the end of the factorization, namely 128 & 49. Here is the programme & sub-programmes involved: 0. { 92-Byte Prgm } 1. LBL “POBR” 2. STO 01 3. +/- 4. STO 00 5. CLX 6. STO 02 7. LBL 02 8. SIGN 9. STO+ 02 10. STO 04 11. STO 05 12. RAN 13. RCL* 01 14. IP 15. LBL 00 16. RCL 04 17. STO 05 18. R↓ 19. STO 03 20. LBL 03 21. XEQ “SQM” 22. RCL+ 02 23. STO ST Y 24. RCL- 03 25. RCL 01 26. XEQ “GCF” 27. 1 28. X≠Y? 29. GTO 01 30. RCL ST Z 31. DSE 05 32. GTO 03 33. RCL 04 34. RCL+ ST X 35. STO 04 36. STO 05 37. R↓ 38. LBL 04 39. XEQ “SQM” 40. RCL+ 02 41. DSE 05 42. GTO 04 43. GTO 00 44. LBL 01 45. R↓ 46. RCL 01 47. X<>Y 48. X=Y? 49. GTO 02 50. TONE 3 51. END 0. { 42-Byte Prgm } 1. LBL “SQM” 2. STO ST Y 3. 1E6 4. MOD 5. STO ST Z 6. – 7. ENTER 8. X^2 9. RCL 00 10. MOD 11. X<>Y 12. R↑ 13. STO* ST T 14. * 15. RCL 01 16. MOD 17. RCL- ST L 18. RCL+ ST L 19. RCL 01 20. MOD 21. + 22. RCL 00 23. MOD 24. + 25. RCL 01 26. MOD 27. END 0. { 16-Byte Prgm } 1. LBL “GCF” 2. LBL 00 3. MOD 4. LASTX 5. X<>Y 6. X≠0? 7. GTO 00 8. R↓ 9. ABS 10. END I would appreciate assistance. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)