An emulator, assembler, and disassembler for the Sega Game Gear
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

32 lignes
589 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. ; 07-data.asm
  5. ; Test of data directives to fill ROM with non-code bytes
  6. .org $1000
  7. str1: .ascii "Hello, world!"
  8. str2: .asciz "World, hello!"
  9. str3: .asciiz "foobar"
  10. arr1: .byte 1 2 3 4 5 6
  11. arr2: .byte 14 $14 $FF 255 $F0
  12. arr3: .byte 8, $10, 4 5 6, 8, 10
  13. void1: .space 3
  14. void2: .space 6 $D0
  15. void3: .space 128 $DE
  16. .org $0000
  17. main:
  18. di
  19. loop:
  20. jp loop
  21. .org $0066
  22. nmi:
  23. retn