2012-06-23 20:08:56 +02:00
|
|
|
#include <asm.h>
|
|
|
|
|
|
|
|
|
|
|
|
PADRead:
|
|
|
|
|
|
|
|
lis %r4, 0xCC00
|
2012-11-09 21:30:55 +01:00
|
|
|
|
|
|
|
lwz %r5, 0x6428(%r4)
|
|
|
|
lwz %r0, 0x642C(%r4)
|
|
|
|
|
2012-06-23 20:08:56 +02:00
|
|
|
lwz %r0, 0x6404(%r4)
|
|
|
|
lwz %r4, 0x6408(%r4)
|
2012-11-09 21:30:55 +01:00
|
|
|
|
2012-06-23 20:08:56 +02:00
|
|
|
lis %r4, 0xC000
|
|
|
|
stw %r0, 0x12FC(%r4)
|
2012-11-09 21:30:55 +01:00
|
|
|
stw %r5, 0x12F8(%r4)
|
|
|
|
|
2012-06-23 20:08:56 +02:00
|
|
|
blr
|