=== ====================== ===
=== Dec – Decrement memory ===
=== ====================== ===

Format
110.bb1.10

Description
The contents of the specified memory location are decremented by 1. The result is stored back at the
specified memory location.

Addressing Modes
┌─────────┬────────────┬──────────┬─────────────┬─────┬─────┬────────────────┬────────────────┐
│ Zpg     │ 110.001.10 │ c6 ab    │ Dec   ab    │ bb- │ #5  │ 1100.0010 = c2 │ 0000.0100 = 04 │
│ Abs     │ 110.011.10 │ ce cd ab │ Dec abcd    │ bb- │ #6  │ 1100.0010 = c2 │ 0000.1100 = 0c │
│ Zpg,x   │ 110.101.10 │ d6 ab    │ Dec   ab,x  │ bb- │ #6  │ 1100.0010 = c2 │ 0001.0100 = 14 │
│ Abs,x   │ 110.111.10 │ de cd ab │ Dec abcd,x  │ bb- │ #7? │ 1100.0010 = c2 │ 0001.1100 = 1c │
└─────────┴────────────┴──────────┴─────────────┴─────┴─────┴────────────────┴────────────────┘

Flags
NV-BDIZC
• -   • 

Fehlerhinweise, Kommentare und Anregungen sind mir herzlich willkommen.

Letzte Aktualisierung: 2017-02-23