X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=megadrive.git;a=blobdiff_plain;f=testpico%2Fasmtools.S;fp=testpico%2Fasmtools.S;h=d216a83aff5e99041fff3d5b183174527907771c;hp=af34b4156cd6a60d61c9d7c046eb7c2404ba8cca;hb=8517a6df6eecd08b5874ba3223913483bb932d93;hpb=0da5ab5d717a4edce2430f76221bdb323f18ff4d diff --git a/testpico/asmtools.S b/testpico/asmtools.S index af34b41..d216a83 100644 --- a/testpico/asmtools.S +++ b/testpico/asmtools.S @@ -99,6 +99,11 @@ move_sr_and_read: move.w (a0), d0 rts +.global read_sr +read_sr: + move.w sr, d0 + rts + .global memcpy_ /* void *dst, const void *src, u16 size */ memcpy_: ldarg 0, 0, a0 @@ -199,7 +204,7 @@ test_hint: 0: move.w d0, (0xf004).w /* 12 */ move.w (sp)+, d0 /* 8 */ - rte /* 20 114 */ + rte /* 20 114+44 */ .global test_hint_end test_hint_end: