<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 25 Nov 2009 12:41:31 +0000
From   : adsb@... (Andrew Benham)
Subject: Quine

Peter Coghlan wrote:

> I believe the B flag only exists in the form of what is automatically pushed
> onto the stack in the case of a BRK or interrupt. In the case of a BRK, the
> bit in the B flag position of the byte that is pushed on the stack is set
> to one. In the case of a (maskable) interrupt, the B bit in the byte that is
> pushed is set to zero.

True, the 'B' flag is only used by the processor hardware to distinguish
between a hardware and software interrupt.  There's more than you want
to know about the subject at:
http://wapedia.mobi/en/Interrupts_in_65xx_processors

-- 
Andrew Benham         adsb@...       
Southgate, London N14, United Kingdom

The gates in my computer are AND OR and NOT, not "Bill"
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>