Post Reply 
(41) HP-16C+ - 16X=0? issue
05-29-2023, 09:04 PM
Post: #1
(41) HP-16C+ - 16X=0? issue
Hello
I am trying to port the IEEE conversion program from the HP-16C manual to the HP-16C emulator.
I discovered a problem with the X=0? test of the HP-16C emulator for the HP-41.
When I use the test program below, the test doesn't give the the results I would expect:

Code:
'1'
16INPT
XEQ 'TST'

displays 'X=0' whereas it should show 'X≠0'. Am I doing something wrong or is this a bug?

Code:
 01 LBL "TST"
 02 LBL 01
 03 16#       ( 16X=0?)
 04 6
 05 GTO 05
 06 GTO 06
 07 LBL 05
 08 "X=0"
 09 PROMPT
 10 RTN
 11 LBL 06
 12 "X≠0"
 13 PROMPT
 14 END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(41) HP-16C+ - 16X=0? issue - Bernd Grubert - 05-29-2023 09:04 PM



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