We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Memory/Accumulator Select: Difference between revisions
From SnesLab
(added instructions that can affect it) |
(added ref) |
||
Line 1: | Line 1: | ||
The '''Memory/Accumulator Select''' flag exists in the [[processor status register]]. It indicates whether the [[accumulator]] is 8 or 16 bits wide | The '''Memory/Accumulator Select''' (M) flag exists in the [[processor status register]] (bit 5) of the [[65c816]]. It indicates whether the [[accumulator]] is 8 or 16 bits wide: | ||
When clear, the accumulator is 16 bits wide. | * When clear, the accumulator is 16 bits wide. | ||
When set, the accumulator is 8 bits wide, but the high byte is still retained. | * When set, the accumulator is 8 bits wide, but the high byte is still retained. | ||
It can be affected by: | It can be affected by: | ||
Line 13: | Line 13: | ||
=== See Also === | === See Also === | ||
* [[Index Register Select]] | * [[Index Register Select]] | ||
==== Reference === | |||
* [[Eyes & Lichty]], page 422, Table 18.2. 65x Flags. https://archive.org/details/0893037893ProgrammingThe65816/page/422 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Flags]] | [[Category:Flags]] | ||
[[Category:65c816 additions]] | [[Category:65c816 additions]] |
Revision as of 23:53, 6 July 2024
The Memory/Accumulator Select (M) flag exists in the processor status register (bit 5) of the 65c816. It indicates whether the accumulator is 8 or 16 bits wide:
- When clear, the accumulator is 16 bits wide.
- When set, the accumulator is 8 bits wide, but the high byte is still retained.
It can be affected by:
See Also
= Reference
- Eyes & Lichty, page 422, Table 18.2. 65x Flags. https://archive.org/details/0893037893ProgrammingThe65816/page/422