ff3:ff3us:doc:snes:opcode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
ff3:ff3us:doc:snes:opcode [2017/04/12 21:12]
hatzen08 [ADC, SBC]
ff3:ff3us:doc:snes:opcode [2022/05/06 08:20]
hatzen08 small fix for adc/sbc opcode
Line 124: Line 124:
 |v set if signed overflow?                  | |v set if signed overflow?                  |
 |z set if result is zero                    | |z set if result is zero                    |
-|c set if overflow or underflow             |+|c set if not overflow or underflow         |
  
 ^  Opcode   ^Syntax         ^ Bytes ^Notes                              | ^  Opcode   ^Syntax         ^ Bytes ^Notes                              |
Line 251: Line 251:
 ===== BIT ===== ===== BIT =====
  
-Does a binary AND between the A or C register and the memory. Unlike the AND opcode, the binary AND operation only is done for the bits sets in the A or C register. All clear bits in the A or C register will be left clear after the operation.+Does a binary AND between the A or C register and the memory. Unlike the AND opcode, the binary AND operation doesn't alter the A or C register. 
  
 ^flags                                                  ^ ^flags                                                  ^
  • ff3/ff3us/doc/snes/opcode.txt
  • Last modified: 21 months ago
  • by strotlog