Advertisement
Guest User

Untitled

a guest
Feb 10th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         ORG     $0
  2.         DC.L    $8000
  3.         DC.L    START
  4.         ORG     $400
  5. START: MOVE.B  #39, D0        
  6.         MOVE.B  #0, D1
  7.         BTST.L  #$00, D0
  8.         BEQ Else1
  9.         BSET.L  #$07, D1
  10. Else1  BTST.L  #$01, D0
  11.         BEQ Else2
  12.         BSET.L  #$06, D1
  13. Else2  BTST.L  #$02, D0
  14.         BEQ Else3
  15.         BSET.L  #$05, D1
  16. Else3  BTST.L  #$03, D0
  17.         BEQ Else4
  18.         BSET.L  #$04, D1
  19. Else4  BTST.L  #$04, D0
  20.         BEQ Else5
  21.         BSET.L  #$03, D1
  22. Else5  BTST.L  #$05, D0
  23.         BEQ Else6
  24.         BSET.L  #$02, D1
  25. Else6  BTST.L  #$06, D0
  26.         BEQ Else7
  27.         BSET.L  #$01, D1
  28. Else7  BTST.L  #$07, D0
  29.         BEQ Exit
  30.         BSET.L  #$00, D1
  31.        
  32. Exit
  33.        STOP #$2700
  34.         END    START
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement