MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
HP16C Emulator >> HP16C Bug Reports >> Out-of-range flag is sometimes wrong
(Message started by: RickN on Jan 8th, 2015, 5:17pm)

Title: Out-of-range flag is sometimes wrong
Post by RickN on Jan 8th, 2015, 5:17pm
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.

Title: Re: Out-of-range flag is sometimes wrong
Post by Jamie OConnell on Jan 21st, 2015, 12:29pm
Good Find!



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