View Single Post
Old 04-28-2005, 02:23   #6 (permalink)
lalo.lerry
No Life Poster
 
lalo.lerry's Avatar
 
Join Date: Jan 2004
Location: Italy
Age: 49
Posts: 1,018
Member: 50673
Status: Offline
Thanks Meter: 2
hello student,
here I'm again!

extp#37h,#1 mov r12, 3A0Bh what will be the value of r12? will it be 1? yes!
The value will be 1 (which is on the right column of debugger) or will it be the hex value on the left side column of the debugger?


Sorry, I answer you in too hurry.
Of course value is the one on left side of debugger, so it's 31h.
Right side is only the conversation in ASCII character of left side values, it a corresponding character is possible.
It's just for help, as in hex editors.


From Menu Button Text patch:
27E97A: E6 FC 06 3A : mov r12, #3A06h
27E97E: E6 FD 37 00 : mov r13, #37h
this is what i was asking about Prof. Isnt 37h:3A06h a RAM location? so r12 and r13 were assigned with their corresponding values above. What happens to their values?

I've looked quicky into MTB patch so I can tell you that 37:3A06 is a RAM location choosen by Riza to store MTB time buffer
r12 and r13 are setted before a call, see call routine to understand how they are used.

op1 can be 1to4
so this means we can use extp #37h, #4, which correspond to 4x use of it?

yes, the following 4 instruction are in extp page.
BTW, if you want to set an extp page for more than 4 instruction, or for instructions that are not in row, you can set DPP0 (a special function register) to that extp page.
Bye

Lalo
  Reply With Quote
 
Page generated in 0.07238 seconds with 7 queries