NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
xstore.f
Go to the documentation of this file.
1C> @file
2C> @brief Stores a constant value into an array
3C> @author Dennis Keyser @date 1992-07-02
4
5C> Stores an 8-byte (fullword) value through consecutive storage locations.
6C> (moving is accomplished with a do loop.)
7C>
8C> ### Program History Log:
9C> Date | Programmer | Comment
10C> -----|------------|--------
11C> 1992-07-02 | Dennis Keyser (W/NMC22) | Initial.
12C> 1995-10-31 | Mark Iredell | Removed saves and prints.
13C>
14C> @param[in] CON Constant to be stored into "mwords" consecutive
15C> fullwords beginning with "cout" array
16C> @param[in] MWORDS Number of fullwords in "cout" array to store "con";
17C> must be .gt. zero (not checked for this)
18C> @param[out] COUT Starting address for array of "mwords" fullwords
19C> set to the contents of the value "con"
20C>
21C> @remark The version of this subroutine on the hds common library
22C> is nas-specific subr. written in assembly lang. to allow fast
23C> computation time. subr. placed in cray w3lib to allow codes to
24C> compile on both the hds and cray machines.
25C> subprogram can be called from a multiprocessing environment.
26C>
27C> @author Dennis Keyser @date 1992-07-02
28 SUBROUTINE xstore(COUT,CON,MWORDS)
29C
30 dimension cout(*)
31C
32 DO 1000 i = 1,mwords
33 cout(i) = con
341000 CONTINUE
35C
36 RETURN
37 END
subroutine xstore(cout, con, mwords)
Stores an 8-byte (fullword) value through consecutive storage locations.
Definition xstore.f:29