Re: [stella] 6502 questions

Subject: Re: [stella] 6502 questions
From: Chris Wilkson <ecwilkso@xxxxxxx>
Date: Thu, 11 Oct 2001 14:42:02 -0400 (EDT)
On Thu, 11 Oct 2001, Thomas Jentzsch wrote:

> A compare works like a subtraction (like SBC, but without the carry
> influence):
> - N-flag: set, when the subtracted signed value is bigger, so the result
>  is negative (signed compare)
> - C-flag: set, when the subtracted unsigned value is bigger (unsigned
> compare)
> - V-flag: set, when there is an signed overflow in subtraction
>   (i.E. -128 - 1 and +127 - -1) (signed compare)

Wow....that's a useful instruction!!!

-Chris


-
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread