Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. * Selection Sort
  2. *
  3. *
  4. * $1000 Anzahl der Daten
  5. * $1001 1. Datum
  6. * $1002 2. Datum
  7. * ...
  8. * $1000+n n. Datum
  9. *
  10. *
  11. *
  12. *
  13. *
  14. *
  15. *
  16. *
  17. *
  18.  
  19. DATA_START EQU $1000
  20. PRG_START EQU $1020
  21. *
  22. * DATENBEREICH
  23.  
  24.            ORG DATA_START ;setze die Ablageadr. im Speicher
  25. DATA:  ;Startadresse des Datenbereichs
  26.            DC.B 5,6,3,1,7,5 ;Datensatz
  27. *
  28. * CODE- / PROGRMMBEREICH
  29. *
  30.            ORG PRG_START ;setze die Ablageadr. im Speicher
  31. START:
  32.  
  33.            MOVE.B $1000,D0
  34.  
  35.  
  36.            END START
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement