We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
SBC (SPC700): Difference between revisions
From SnesLab
(created page) |
(depluralize "1 bytes") |
||
Line 56: | Line 56: | ||
| | | | ||
|B9 | |B9 | ||
|1 | |1 byte | ||
|5 cycles | |5 cycles | ||
|+ | |+ |
Revision as of 15:15, 7 May 2023
SBC is an SPC700 instruction that subtracts.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
immediate | A8 | 2 bytes | 2 cycles | ||||
A6 | 1 byte | 3 cycles | |||||
A4 | 2 bytes | 3 cycles | |||||
B4 | 2 bytes | 4 cycles | |||||
A5 | 3 bytes | 4 cycles | |||||
B5 | 3 bytes | 5 cycles | |||||
B6 | 3 bytes | 5 cycles | |||||
A7 | 2 bytes | 6 cycles | |||||
B7 | 2 bytes | 6 cycles | |||||
B9 | 1 byte | 5 cycles | |||||
A9 | 3 bytes | 6 cycles | |||||
B8 | 3 bytes | 5 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . |