To be more concrete, the current test code is
def test_load_and_store(self):
a = PPCBuilder()
word1 = 1000
word2 = 2000
a.load_word(10, word1) # load constant 1000 into r10
a.load_word(11, word2) # load constant 2000 into r11
a.stw(10, 8, 0)
Hi David,
On Thu, Aug 18, 2011 at 4:50 PM, David Edelsohn dje@gmail.com wrote:
r8 and r9 are not initialized and point to whatever locations those
registers happen to hold.
I think that the test is just wrong... You need to load explicitly
the address of some CArray in r8 and r9, for
On 08/18/2011 04:50 PM, David Edelsohn wrote:
To be more concrete, the current test code is
def test_load_and_store(self):
a = PPCBuilder()
word1 = 1000
word2 = 2000
a.load_word(10, word1) # load constant 1000 into r10
a.load_word(11, word2)