An emulator, assembler, and disassembler for the Sega Game Gear
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.
 
 
 
 
 

22 rivejä
345 B

  1. ;; Copyright (C) 2016 Ben Kurtovic <ben.kurtovic@gmail.com>
  2. ;; Released under the terms of the MIT License. See LICENSE for details.
  3. ; ----- CRATER UNIT TESTING SUITE ---------------------------------------------
  4. ; 04-basic.asm
  5. ; Basic instruction test
  6. .org $0000
  7. main:
  8. di
  9. ld a, $23
  10. inc a
  11. call foo
  12. foo:
  13. push bc
  14. xor c
  15. ret z
  16. rrca
  17. ret