Bob Latham
2022-04-08 11:07:09 UTC
Hi,
I've written a program that works as two separate chunks but I cannot
find a way to add the chunks together.
My little program (assembler and not wimp) firstly uses WGET to down
load a file from the interweb. This is done in a subroutine where SWI
"OS_CLI" R0 points at a string with WGET in it and the file downloads
no problem. When it returns from the subroutine, the program then
*should* use the downloaded data to produce another angle on the data.
The two parts work fine apart but I can't join them together. It's
that the cpu isn't returning from the subroutine in the way I
expected and seems determined to stop the whole thing with "press
space bar" etc. it will not carry on with my program.
I know there is something I'm not understanding here, could someone
enlighten me please.
Thanks.
Bob.
I've written a program that works as two separate chunks but I cannot
find a way to add the chunks together.
My little program (assembler and not wimp) firstly uses WGET to down
load a file from the interweb. This is done in a subroutine where SWI
"OS_CLI" R0 points at a string with WGET in it and the file downloads
no problem. When it returns from the subroutine, the program then
*should* use the downloaded data to produce another angle on the data.
The two parts work fine apart but I can't join them together. It's
that the cpu isn't returning from the subroutine in the way I
expected and seems determined to stop the whole thing with "press
space bar" etc. it will not carry on with my program.
I know there is something I'm not understanding here, could someone
enlighten me please.
Thanks.
Bob.