We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Zero Flag: Difference between revisions
From SnesLab
(→Reference: page 108) |
(list of instructions affecting it) |
||
Line 1: | Line 1: | ||
The '''Zero Flag''' exists on the [[65c816]]. | The '''Zero Flag''' exists on the [[65c816]]. It is affected by these 41 instructions: | ||
* [[ADC]] | |||
* [[AND]] | |||
* [[ASL]] | |||
* [[BIT]] | |||
* [[CMP]] | |||
* [[CPX]] | |||
* [[CPY]] | |||
* [[DEC]] | |||
* [[DEX]] | |||
* [[DEY]] | |||
* [[EOR]] | |||
* [[INC]] | |||
* [[INX]] | |||
* [[INY]] | |||
* [[LDA]] | |||
* [[LDX]] | |||
* [[LDY]] | |||
* [[LSR]] | |||
* [[ORA]] | |||
* [[PLA]] | |||
* [[PLB]] | |||
* [[PLD]] | |||
* [[PLX]] | |||
* [[PLY]] | |||
* [[ROL]] | |||
* [[ROR]] | |||
* [[SBC]] | |||
* [[TAX]] | |||
* [[TAY]] | |||
* [[TCD]] | |||
* [[TCS]] | |||
* [[TDC]] | |||
* [[TRB]] | |||
* [[TSB]] | |||
* [[TSC]] | |||
* [[TSX]] | |||
* [[TXA]] | |||
* [[TXY]] | |||
* [[TYA]] | |||
* [[TYX]] | |||
* [[XBA]] | |||
=== Reference === | === Reference === |
Revision as of 08:44, 7 December 2023
The Zero Flag exists on the 65c816. It is affected by these 41 instructions:
- ADC
- AND
- ASL
- BIT
- CMP
- CPX
- CPY
- DEC
- DEX
- DEY
- EOR
- INC
- INX
- INY
- LDA
- LDX
- LDY
- LSR
- ORA
- PLA
- PLB
- PLD
- PLX
- PLY
- ROL
- ROR
- SBC
- TAX
- TAY
- TCD
- TCS
- TDC
- TRB
- TSB
- TSC
- TSX
- TXA
- TXY
- TYA
- TYX
- XBA
Reference
- Labiak, page 108 https://archive.org/details/Programming_the_65816/page/n118