Nested Call Test Failing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Nested Call Test Failing

Kirbs
I've ran the NestedCall test for debugging purposes as the SimpleFunction test passes, but the  FibonacciElement test fails. I've been having a pretty hard time pinning down exactly what's
wrong and a point in the right direction would really help me out.

The results from the NestedCall test are below and here is the asm file NestedCall.asm

Comparison
| RAM[0] | RAM[1] | RAM[2] | RAM[3] | RAM[4] | RAM[5] | RAM[6] |
|    261   |    261    |    256   |   4000  |   5000   |    135   |    246   |

Output
| RAM[0] | RAM[1] | RAM[2] | RAM[3] | RAM[4] | RAM[5] | RAM[6] |
|    261   |    261    |    256   |   4000  |   5000   |    309   |    246   |

Reply | Threaded
Open this post in threaded view
|

Re: Nested Call Test Failing

cadet1620
Administrator
When I run your NestedCall.asm I get different failure info than you do.
| RAM[0] | RAM[1] | RAM[2] | RAM[3] | RAM[4] | RAM[5] | RAM[6] |
|    273 |    266 |    261 |   4001 |   5001 |     -1 |     -1 |
Because your .out is correct except for RAM[5}, I'm wondering if you posted an earlier version of the .asm?

You can email NestedCall.asm to me directly if you want to.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: Nested Call Test Failing

Kirbs
Sorry I did upload an earlier version by accident, I've uploaded the correct one now.