load/read/ commands assembly PowerPC. Help Needed!

Status
Not open for further replies.

LatDrIvE

Member level 4
Joined
Nov 28, 2002
Messages
68
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
athens
Activity points
415
Hello all,

I am trying to load a 32bit data (word) from the PortB of a BRAM to a GPR (general purpose register) of the PowerPC.

Address Map for Processor ppc405_0
(0b0000010000-0b0000010011) ppc405_0
(0b0000100000-0b0000100011) ppc405_0
(0xa0008000-0xa000ffff) docm_cntlr docm
(0xffff8000-0xffffffff) iocm_cntlr iocm

i am using the LWZ command like LWZ r1, r1 (0xa0008001) but is not working. which is the right syntax for the specific adresses?

regards
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…