User Forum :: Powered by YaBB
« MIDI-OX User Forum - Out-of-range flag is sometimes wrong »
Welcome, Guest. Please Login or Register.
Oct 25th, 2020, 9:48am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   HP16C Emulator
   HP16C Bug Reports
(Moderator: Jamie OConnell)
   Out-of-range flag is sometimes wrong
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Out-of-range flag is sometimes wrong  (Read 949 times)
RickN
Member
**



HP Calculator Enthusiast

   


Gender: male
Posts: 45
Out-of-range flag is sometimes wrong
« on: Jan 8th, 2015, 5:17pm »
Quote Quote Modify Modify

Set decimal (DEC) 8-bit (8 WSIZE) unsigned (UNSGN) status and clear both Carry and Out-of-range flags (0 ENTER +).  Then do 10 ENTER 20 - resulting in Out-of-range value -10 that displays as 256-10 = 246.  The real HP-16C results in Carry (C) set and Out-of-range (G) set.  The emulator results in C set and G clear.
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2005
Re: Out-of-range flag is sometimes wrong
« Reply #1 on: Jan 21st, 2015, 12:29pm »
Quote Quote Modify Modify

Good Find!
IP Logged

--Jamie
Music is its own reward.

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB 2000-2003. All Rights Reserved.