Comment

Comment by deepfriedrice

Love the explanation of the DAA instruction. I wrote a gbc emulator in college, but couldn't figure out what that instruction was supposed to do.

I ended up just copying a lookup table from an open source emulator at the time, which of course didn't help my understanding: https://github.com/visualboyadvance-m/visualboyadvance-m/blo...

Funny to finally realize what this does, and now see how the lookup table works.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton