Re: [stella] Climber 5 RC#03

Subject: Re: [stella] Climber 5 RC#03
From: David Galloway <davidgalloway@xxxxxxxxxxxxxx>
Date: Tue, 10 Feb 2004 22:19:36 -0800

Exactly. LDA does an implicit


CMP #$00


so the flag content you were expecting was destroyed.


I bet you have used this as a "feature" a zillion times as in

LDA someState
BNE / BEQ somewhere


LDA affects the N and Z flags, so you can do BMI / BPL as well as BNE BEQ, but I have never seen where it affects the carry.




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


Current Thread