Dandaman955

Typical SoR Code

Aug 1st, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; ======================================================================
  2.  
  3. loc_15848:
  4.                moveq   #1,d0            ; Move 1 into d0.
  5.                 swap    d0               ; Swap to high word.
  6.                 move.b  $30(a0),d0       ; Load Souther's routine counter value into $30.
  7.                 add.w   d0,d0            ; Double it to handle word sized tables.
  8.                 move.w  (a1,d0.w),d0     ; Load routine address + $10000.
  9.                 movea.l d0,a1            ; Set as address.
  10.                 jmp     (a1)             ; Jump there.
  11.                
  12. ; ======================================================================
Advertisement
Add Comment
Please, Sign In to add comment