NefMoto

Technical => Reverse Engineering => Topic started by: masterj on October 05, 2014, 06:51:58 AM



Title: MD (multiplier/division register)
Post by: masterj on October 05, 2014, 06:51:58 AM
Hi, guys!
Are there any instructions in ASM that indirectly gets data from MD register? What I mean is mulu for example stores data in MD. And I see no direct calls to MD, MDL, MDH. Where could be the instruction that gets data from this register?



Title: Re: MD (multiplier/division register)
Post by: phila_dot on October 05, 2014, 07:35:15 AM
No, your SFR's aren't labeled.


Title: Re: MD (multiplier/division register)
Post by: masterj on October 06, 2014, 12:13:08 PM
Could there be that results from multiplication and division are stored in word_FE0C and/or word_FE0E? they always show up after mul ops in my file. Maybe through them I can access MDH and MDL or something???


Title: Re: MD (multiplier/division register)
Post by: phila_dot on October 06, 2014, 01:41:50 PM
Could there be that results from multiplication and division are stored in word_FE0C and/or word_FE0E? they always show up after mul ops in my file. Maybe through them I can access MDH and MDL or something???

You are looking at MDH and MDL, they just aren't labeled.


Title: Re: MD (multiplier/division register)
Post by: masterj on October 07, 2014, 11:44:01 AM
You are looking at MDH and MDL, they just aren't labeled.

Ah, got it :) thanks