The slowest Game Boy emulator.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
608 B

  1. 0x04 0000 0100 inc B
  2. 0x14 0001 0100 inc D
  3. 0x24 0010 0100 inc H
  4. 0x34 0011 0100 inc (HL)
  5. 0x0c 0000 1100 inc C
  6. 0x1c 0001 1100 inc E
  7. 0x2c 0010 1100 inc L
  8. 0x3c 0011 1100 inc A
  9. B: 0b000
  10. C: 0b001
  11. D: 0b010
  12. E: 0b011
  13. H: 0b100
  14. L: 0b101
  15. (HL): 0b110
  16. A: 0b111
  17. The lowest bit is unset to indicate an 8-bit operation.
  18. --------------------------
  19. 0x03 0000 0011 inc BC
  20. 0x13 0001 0011 inc DE
  21. 0x23 0010 0011 inc HL
  22. 0x33 0011 0011 inc SP
  23. BC: 0b10
  24. DE: 0b01
  25. HL: 0b10
  26. SP: 0b11
  27. Here the lowest bit is set to indicate this is a 16-bit operation.