gottfried.wimmer @ dsi.at sent
me his Assembler tips:
- SLR to clear Regs (should be the fastest Instr.) .... but you the Cond
code is set (la rx,0 preserves it).
- MVCL to clear dynamic storage
- it's a good practice to code all variables in an instream macro (esp. for
RENT-Programming)
- NEVER use things like
MVC ABC+4(5),=c'ABCDEF'
- I try to use the symbolic capabilities of the (H-) Compiler, i.e. to
compute the LRECL of an outputfile based on the length of a structure:
rl dc al2(rle-rl,0)
f1 dc cl20' '
f2 dc 10xl2'00'
f3 dc pl5'0'
rle equ *
.....
Out dcb dsorg=ps,ddname=o,macrf=gm,lrecl=rle-rl
|