Re: Trouble with assembler subroutines
Posted: Tue Nov 22, 2011 5:09 pm
Anyway, do you have any further hints as to how I have my program invoke a subroutine without crashing?
Mainframe Technical Support Forums
http://www.ibmmainframeforum.com/
https://www.ibmmainframeforum.com/assembler/topic6659-10.html
This says you understand the basics. If you have trouble after using BAL and BR, then the issue is not with invocation of the subroutine but somewhere else.What I need to understand is: how shall I start up a simple internal subroutine such that I can call it? To call the subroutine, I invoke BAL
R14,subroutine - with subroutine being a selected name. To return from a subroutine, I code BR R14.
Possibly - if you will invest a bit of time to show us what is wrong.do you have any further hints as to how I have my program invoke a subroutine without crashing?
"Walking on memory" is a phrase to indicate something is altering your program, almost always that "something" is your program.RISCCISCInstSet wrote:There's something interesting. How do you walk on memory?