We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
LSR: Difference between revisions
From SnesLab
(created page) |
(dots for unclobbered flags) |
||
Line 1: | Line 1: | ||
'''LSR''' (Logical Shift Right) is a 65x instruction that shifts a value one bit to the right (division by two). The most significant bit becomes a zero. The least significant bit is shifted into the [[carry flag]]. | '''LSR''' (Logical Shift Right) is a 65x instruction that shifts a value one bit to the right (division by two). The most significant bit becomes a zero. The least significant bit is shifted into the [[carry flag]]. | ||
{| class="wikitable" style="width:30%" | |||
!colspan="9"|Flags Clobbered | |||
|+ | |||
|N | |||
|V | |||
|M | |||
|X | |||
|D | |||
|I | |||
|Z | |||
|C | |||
|+ | |||
| | |||
|. | |||
|. | |||
|. | |||
|. | |||
|. | |||
| | |||
| | |||
|} | |||
[[Category:ASM]] | [[Category:ASM]] |
Revision as of 17:21, 1 May 2023
LSR (Logical Shift Right) is a 65x instruction that shifts a value one bit to the right (division by two). The most significant bit becomes a zero. The least significant bit is shifted into the carry flag.
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
N | V | M | X | D | I | Z | C | |
. | . | . | . | . |