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
ff3:ff3us:doc:snes:opcode [2016/03/06 19:18]
hatzen08 [TRB, TSB]
ff3:ff3us:doc:snes:opcode [2022/09/21 18:38] (current)
strotlog undo incorrect changes to c flag: c=1 carries in a 1 in adds; c=1 is set by overflowing
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                                                  ^
Line 289: Line 289:
 |   D9      |CMP addr,                                              | |   D9      |CMP addr,                                              |
 |   DD      |CMP addr,                                              | |   DD      |CMP addr,                                              |
-|   DF      |CMP long,        |                                       |+|   DF      |CMP long,        |                                       |
  
 ^  Opcode   ^Syntax         ^ Bytes ^Notes                                  | ^  Opcode   ^Syntax         ^ Bytes ^Notes                                  |
  • ff3/ff3us/doc/snes/opcode.1457291935.txt.gz
  • Last modified: 5 years ago
  • (external edit)