Skip to content

Instantly share code, notes, and snippets.

@vext01
Created February 20, 2012 19:38
Show Gist options
  • Select an option

  • Save vext01/1870935 to your computer and use it in GitHub Desktop.

Select an option

Save vext01/1870935 to your computer and use it in GitHub Desktop.
Part of the sonic 3 checksum code
0x0000b766: 3a 1e bb 47: move.w (A6)+, D5
0x0000b76a: e2 4f 64 04: lsr.w #1, D7
0x0000b76e: 0a 47 88 10: eori.w #$8810, D7
0x0000b772: 51 ce ff f2: dbra D6, b766
0x0000b776: 4e 75 2c 4a: rts
0x0000b77a: 3c 00 53 46: move.w D0, D6
0x0000b77e: 61 e4 3c 87: bsr b764
0x0000b782: 26 4a 32 00: movea.l A2, A3
0x0000b786: 34 1a 05 88: move.w (A2)+, D2
0x0000b78a: 00 00 58 48: ori.b #$48, D0
@vext01

vext01 commented Feb 20, 2012

Copy link
Copy Markdown
Author

m68k watchpoints:
#1: 0x002001c0-002001cf (16 bytes)

d0 00 d0 00 d0 00 d0 00 d0 42 d0 44 d0 ed d0 3e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment