We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
LDB (Super FX): Difference between revisions
From SnesLab
(→See Also: RAMB) |
(waiting included in cycles) |
||
Line 36: | Line 36: | ||
'''LDB''' (Load Byte) is a [[Super FX]] instruction that loads one byte from the [[Game Pak]] and stores it in the low byte of the [[destination register]]. The low byte of the destination register is zeroed. | '''LDB''' (Load Byte) is a [[Super FX]] instruction that loads one byte from the [[Game Pak]] and stores it in the low byte of the [[destination register]]. The low byte of the destination register is zeroed. | ||
Part of the reason why LDB takes so many cycles is that the GSU waits for data to be loaded from game pak ram. | |||
=== See Also === | === See Also === |
Revision as of 00:59, 1 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
3D4m | 2 byte | 11 cycles | 13 cycles | 6 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |
LDB (Load Byte) is a Super FX instruction that loads one byte from the Game Pak and stores it in the low byte of the destination register. The low byte of the destination register is zeroed.
Part of the reason why LDB takes so many cycles is that the GSU waits for data to be loaded from game pak ram.
See Also
External Links
- Official Super Nintendo development manual on LDB: Page 2-9-64 of Book II
- example: Page 2-9-65, lbid.