Reduce code duplication in all "ADD" instructions. You can refer to commit 9f4ae732 for starters. Steps: 1. Create function `genericAdd(vm *Machine, src uint8, dest uint8) error` 2. Replace all duplicated code in every variant of ADD instruction
Reduce code duplication in all "ADD" instructions. You can refer to commit 9f4ae73 for starters.
Steps:
genericAdd(vm *Machine, src uint8, dest uint8) error