

            sky$xs (4) --- set current cpu keys                      06/25/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 subroutine sky$xs (word)
                 shortcall sky$xs (2)

                 integer word

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


            _F_u_n_c_t_i_o_n

                 This  routine  loads  bits  1  - 14 of the cpu keys with the
                 corresponding bits of 'word'.  This can change the processor
                 addressing mode (for the current process), set or clear  the
                 carry  and link bits and the condition codes, and change the
                 system's response to integer, real and decimal exceptions.


            _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).  The subroutine uses the TAK instruction.

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


            _B_u_g_s

                 The  user can possibly change the current program addressing
                 mode in a manner that cannot be recovered by this routine.

                 Locally supported.


            _S_e_e _A_l_s_o

                 fc (1), gky$xs  (4),  _S_y_s_t_e_m  _A_r_c_h_i_t_e_c_t_u_r_e  _R_e_f_e_r_e_n_c_e  _G_u_i_d_e
                 (Prime PDR 3060)

















            sky$xs (4)                    - 1 -                    sky$xs (4)


