Jon,
If you are fussing about the fixed-format of the input, then WTF. It's
use, by design, requires a fixed format input deck. It's documented that
way and if someone uses it wrong, then they are responsible for the
outcome. I work with programmers that can follow direction and use thing
right.
But, even if they do it wrong, then the worse outcome, if the '-----'
line is wrong, is a message from the assembler that the loop count is
exceeded. No big problem. It get's fixed and they move forward.
If other lines are not in the correct position, they get assembler
errors. Again, not a big problem.
Just because you don't like a fixed format input deck, does not mean
that the design is flawed or wrong. It's just a style you would not
implement but I will.
Are you also going to complain that the branch labels are restricted to
24 characters? That is the biggest complaint I have had with the macro
from my people.
Tony Thigpen
Jon Perryman wrote on 3/9/19 10:37 PM:
Sorry, darn yahoo Email and how listserv handles formatting. Here's another
try at getting it right.
pgm ENTER
LA R15,0
BRANCH_ON (R15)
LBL00
LBL04
--------------------------
RETURN
On Saturday, March 9, 2019, 7:32:41 PM PST, Jon Perryman
<[email protected]> wrote:
Hi Tony,
Please at least pretend you looked the code I included. Does the index look too
high or too low? I'm sorry it did not get formatted correctly but clearly the
index was 0. Here it is again correctly formatted.
pgm ENTER
LA R15,0
BRANCH_ON (R15)
LBL00 LBL04
--------------------------
RETURN