Two Stop Bitsnew | comments | tags | ask | submitlogin
The 6502/65C02/65C816 instruction set decoded (assembly 6502 65816) (llx.com | ia)
6 points by classichasclass 538 days ago | 5 comments
  • ddingus 533 days ago
    What a great resource!

    I know a lot about these chips and learned something new:

    There is a single cycle NOP on the 65C02! Spiffy!

    ---Excerpt Below---

    There aren't really any undocumented instructions on the 65C02--any instructions not listed above are documented as performing no operation.

    However, these alternate NOPs are not created equal. Some have one- or two-byte operands (which they don't do anything with), and they take different amounts of time to execute.

    Instruction Bytes Cycles

         xxxxxx10	2	2
         xxxxxx11	1	1
         01000100	2	3
         x1x10100	2	4
         01011100	3	8
         11x11100	3	4
  • jonathan 537 days ago
    Funny, because I was just using this yesterday to adapt my rust 6502 emulator to 65C02. It's not as useful as for the 6502 since the 65C02 instructions are much less regular, but I like that way of looking at the instruction set, I feel like it shows the underlying logic of the designers.
    • Screwtapello 537 days ago
      Programming in JavaScript feels like being adrift in a realm of pure thought. Programming in 6502, you can feel the electrons pulsing through the thin carpet beneath your feet.
  • Screwtapello 538 days ago
    As somebody who's been learning about 6502 internals recently, this web page has been incredibly helpful. It's not a silver bullet, there's a lot of instructions that don't fit the pattern, or they do fit the pattern and there's only one or two of them so there's little point, but for the most regular operations (Group 1: ORA, AND, EOR, ADC, STA, LDA, CMP, SBC) it makes things so much easier.
  • bmonkey325 537 days ago
    The instruction timing section for me. It summarizes the when and why you get extra cycles during execution.
lists | rss | source
Search:
Two Stop Bits is a discussion web site about retro computing and gaming.