We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

BIT: Difference between revisions

From SnesLab
Jump to: navigation, search
(made basic info table shorter)
(linkify immediate and absolute)
Line 7: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|immediate
|[[Immediate]]
|89
|89
|2 bytes
|2 bytes
|2 cycles
|2 cycles
|+
|+
|absolute
|[[Absolute]]
|2C
|2C
|3 bytes
|3 bytes

Revision as of 04:13, 20 November 2023

Basic Info
Addressing Mode Opcode Length Speed
Immediate 89 2 bytes 2 cycles
Absolute 2C 3 bytes 4 cycles
direct page 24 2 bytes 3 cycles
absolute indexed X 3C 3 bytes 4 cycles
direct page indexed X 34 2 bytes 4 cycles
Flags Clobbered
N V M X D I Z C
. . . . .

BIT is a 65x instruction that performs a logical AND operation between the accumulator and memory without storing the conjunction.

External Links