Post Reply 
(41) HP-16C+ - 16X=0? issue
06-15-2023, 02:24 PM (This post was last modified: 06-16-2023 04:59 AM by Ángel Martin.)
Post: #5
RE: (41) HP-16C+ - 16X=0? issue
Lines 02 - 05 in the TST program set the word size to 2, why is that intended??

Testing manually X<0? and X<=0? on 1CMP with 16x = -0d returns the correct "YES" result, not sure why your program doesn't get the same outcome... will need to look at it with more time.

But X=0? returns "NO", which I believe it is correct because -0d is not the same as 0d

in binary, 1CMP representation with WS = 2 :
00 = 11 ?? Not quite, so I'll stick by the current "NO"

isn't that right?

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (41) HP-16C+ - 16X=0? issue - Ángel Martin - 06-15-2023 02:24 PM



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