View Single Post
Old 04-26-2005, 03:51   #4 (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,

if i use 37h:3A0B (0dfa0b <-correct?) yes

extp#37h,#1 mov r12, 3A0Bh what will be the value of r12? will it be 1? yes!

and some of the patches use this: mov r12,37h mov r13,3A0Bh what will happen to the values of r12 and r13?
If you have copied right, in r12 will be 37 hex value and in r13 3A0B value.

but I think you have miscopied, a very used piece of commands is:

extp#37h,#2 ;op1=2=extp for next 2 instructions
mov r12, 3A0Bh ;word value present in 37:3A0B stored in r12
mov r13, 3A0Dh ;word value present in 37:3A0D stored in r13

NOTE: op1 can be a value between 1 and 4

Clear?
  Reply With Quote
 
Page generated in 0.07620 seconds with 7 queries