Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

Testing & Performance analysis :: RE: DD DUMMY & CPU TIME

$
0
0
Author: steve-myers
Posted: Thu Dec 22, 2016 5:14 pm (GMT 5.5)

This is the PUT loop from the Assembler listing. The PUT macro is expanded.
Code:
                                     53 LOOP     PUT   OUTPUT,OUTREC
000084 4110 C9B4            009B4    55+LOOP     LA    1,OUTPUT
000088 4100 CB31            00B31    56+         LA    0,OUTREC
00008C 1FFF                          57+         SLR   15,15
00008E BFF7 1031            00031    58+         ICM   15,7,49(1)
000092 05EF                          59+         BALR  14,15
000094 4630 C084            00084    60          BCT   3,LOOP
I also located the code the PUT macro calls.
Code:
PUTDUMMY NOPR  0
         NOPR  0
         NOPR  0
         LR    1,0
         BR    14
I still remember my reaction when I saw the the SLR/ICM business in the PUT macro to replace the OS/360 L 15,48(0,1). The SLR/ICM code works in an AMODE 31 program, though I didn't know that was the the reason when I first saw the code.

I have no idea what the purpose of the 3 NOPR instructions is. The cynic in me says they're there to sell more hardware.


Viewing all articles
Browse latest Browse all 8500

Trending Articles