

            pek$xs (4) --- look at a location in memory              06/25/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 subroutine pek$xs (ptr_to_word, contents)
                 shortcall pek$xs (4)

                 pointer ptr_to_word
                 untyped contents

                 Library: shortlb
                 Also declared in =incl=/shortlb.r.i


            _F_u_n_c_t_i_o_n

                 The  subroutine  returns  the  contents  of  the word at the
                 address 'ptr_to_word'.  Effectively,

                            call pek$xs (loc(word), contents)

                 is equivalent to

                                     contents = word


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 Implemented as a simple  PMA  routine  entered  via  a  JSXB
                 (shortcall).

                 Note that any routine using this call must be compiled using
                 the "-q" option of 'fc'.


            _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

                 contents


            _B_u_g_s

                 No validity check is done on the pointer.

                 Locally supported.


            _S_e_e _A_l_s_o

                 fc (1), pok$xs (4)










            pek$xs (4)                    - 1 -                    pek$xs (4)


