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

Implied Addressing: Difference between revisions

From SnesLab
Jump to: navigation, search
(added opcodes)
(added more opcodes)
Line 21: Line 21:


'''Type 2''' - The flag(s) to be operated on are implied in the mnemonic: (8 instructions)
'''Type 2''' - The flag(s) to be operated on are implied in the mnemonic: (8 instructions)
* [[CLC]]
* [[CLC]] (opcode 18)
* [[CLD]]
* [[CLD]] (opcode D8)
* [[CLI]]
* [[CLI]] (opcode 58)
* [[CLV]]
* [[CLV]] (opcode B8)
* [[SEC]]
* [[SEC]]
* [[SED]]
* [[SED]]

Revision as of 22:37, 26 June 2024

There are three types of Implied Addressing on the 65c816:

Type 1 - The register(s) to be operated on are implied in the mnemonic: (17 instructions)

Type 2 - The flag(s) to be operated on are implied in the mnemonic: (8 instructions)

Type 3 - Neither flags nor registers operated on: (4 instructions)

  • NOP (opcode EA)
  • STP (opcode DB)
  • WAI (opcode CB)
  • WDM (opcode 42)

All implied instructions except for WDM are one byte long.

Reference