On Mon, 26 Feb 2018 19:28:22 -0500, Tony Harminc wrote:
>
>My apologies. Clearly I also misled myself by allowing memory to override
>logic. 
>
Thanks for your kind followup.

>Though I think I did accomplish my point in pointing out that Timer
>Units of either size are not TOD Clock units, or anything that can be
>derived therefrom by some simple bit shifting.
>
To convert from Timer Units to TOD format, multiply by 320000/3.
Dealing with the pesky sign bit is left as an exercise for the student.
Probably easiest with Grande instructions.

>> The macro description, properly, does not mention the Interval Timer.
>
>So is there a definition of these Timer Units beyond that given in the
>various macros?
> 
Not that I can find in a Glossary.  Assembler Services uses "Timer Units"
a few times, usually in apposition to "26.04166 µsec".  (26.04167 would
be closer.)

>And FYI, I found several SRA Rn,1 instructions in OS/360 that indeed
>convert the value in the timer to OS/360 Timer Units, e.g.
>
>         L     XN2,TIMER                .GET TIMER VALUE
>         SRA   XN2,1                    .DEV 26 USEC UNITS
> 
Chosen for the shortest instruction sequence rather than most intuitive
programming interface.
    https://xkcd.com/1960/

Thanks again for the research,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to