User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Out-of-range flag is sometimes wrong »
Welcome, Guest. Please Login or Register.
Feb 11th, 2025, 4:33pm


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 1404 times)
RickN
Member
**



HP Calculator Enthusiast

   
WWW

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: 2027
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.