|
Mentor
|
![]() |
| 23Feb2009,17:50 | #11 |
|
Well it's not me writing the software so I don't know where it should go. It just looks like it should go somewhere other than into uart_init. Whether it loops back to do more stuff or jumps to the end depends on what you're trying to do.
|
|
Mentor
|
![]() |
| 23Feb2009,17:57 | #12 |
|
Post editing is permitted on this forum when you reach a certain post count, not sure what that is (10 perhaps).
You should be able to "BL output_string" after "BL sort", the idea of subroutines is that you can call them from anywhere. It looks like output_string outputs the string stored at the address in r10 so you'll need a MOV before you call it. You'll also need to consider where the program should go after returning from output_string cos again if you do nothing it'll drop straight into uart_init. |
|
Mentor
|
![]() |
| 25Feb2009,12:57 | #13 |
|
Quote:
Originally Posted by Armnewbie87 http://www.go4expert.com/showthread.php?t=16329 |


