0                    1                    2                     3                     4                     5                     6                     7                     8                     9

                     This page separates the RR Branch and Link from the Set                                                                                                                                             
                     Program Mask op.Set Program Mask branches to the load                                                                                                                                                   
A                    PSW program where it shares ords with that routine.                                                                                                                                                                             
                     Branch and Link determines if a branch is to be taken                                                                                                                                                  
                     and if it is,reads out the branch address into UV.                                                                                                                                                    
                     Stats at end of page                                                                                                                                                                                 
                     UV=Branch address                                                                                                                                                                                   
                     S2=1=Invalid BR address(hi bit not zero or low bit not zero)
B                    S4=1=No branch to be taken
                     S6=1=Hi bits of branch addr not zero
                                                                          00 --- 02DC                                                                                                                                     
                                                                      K 0000,1      |                                                                                                                                     
                                                                      A TH>T        |                                                                                                                                          
C                                                                 ----S WRITE   K>W R*-------------------------------------------------------------------------------------------------------------------------------------------------QA921------CCE
                                                                  |   |             |                                                                                                                                                  (01)   
                                                                  |   |             |                                                                                                                                                  Set Prg Mask
                                                                  |   R 0,1       51R                                                                                                                                    
                                                                  |   C3--    01 --CC                                                                                                                                     
                                                                  |  T=R1 Hi Addr
D                                                                 |
                                                                  |
                              01 --- 02E1                         |       01 --- 02DD           00 --- 01AC           00 --- 0130           00 --- 01B0           10 --- 01B2                                 01 --- 01B1
                          |             |                         |   K 0001,0      |       |             |       |             |       |             |       |             |                             K 0001        |
                          A RX>D        |                         |   A V+0+1>V     |       A R>L         |       A V+0+1>V     |       A R>U         |       A R>V         |                             A V.KL>Z      |    
E   QA011.EGE------------*S UV>MN    LS S*------------------------O---S WRITE   K>W R*O-----S UV>MN    LS S*--O---S WRITE       |*------S UV>MN       |*------S WRITE       S*--O-------------------------S STORE       |*---                        
    (01)                  |             |                             C 0>S2        | |     C ANSNZ>S2    |   |   C 0>S6        |       C 0>S4,S5     |       |             |   |                         C ANSNZ>S2    |   |
    RR BR Link            |             |                             |             | |     |             |   |   |             |       |             |       |             |   |                     ----|             |   |
    Set Prg Mask          R 0,G7      DCR                             R S1,S5     ACR |     R 0,0       30R   |   R 0,0       B0R       R 1,0       B2R       R S2,1      B1R   |                     |   R S1,1      ADR   |
                          E1--    0* --EA                             E3--    ** --EC |     E4--    00 --ED   |   E5--    00 --EE       E6--    10 --EF       E7--    *1 --EG   |                     |   E9--    *1 --EJ   |
                         DH=Prg Mask                                 BR and Link      |    Branch Test        |                                                                 |                     |  Test Lo bit        |
F                        DL=Cond Reg                                                  |    for Hi bits=0      |                                                                 |                     |  of BR addr         |
                         S4=1                                                         |                       |                                                                 |                     |  for zero           |
                         S5=1,R2=0(No branch)                                         |         10 --- 01AE   |                                                                 |       11 --- 01B3   |                     |
                         V=Reg addr of hi order                                       |     |             |   |                                                                 |   K 0000,0      |   |                     |
                           branch addr                                                |     A R>L         |   |                                                                 |   A L>R         |   |                     |
G                        T=Lo addr of link reg                                        O-----S UV>MN    LS S----                                                                 ----S *A8         |*---                     |                        
                         G7=1=BR and Link                                             |     C ANSNZ>S2    |                                                                         C 1>S6        |                         |
                         G7=0=Set Prg Mask                                            |     |             |                                                                         |             |                         |
                                                                                      |     R 0,0       30R                                                                         R 0,1       B1R                         |
                                                                                      |     G4--    00 --GD                                                                         G8--    01 --GH                         |
                                                                                      |    BR IC stored                                                                            Store unavail                            |
H                                                                                     |    Test for Hi bits=0                                                                      IC bits                                  |
                                                                                      | -------------------------------------------------------------------------------------------------------------------------------------
                                                                                      | |       01 --- 01AD                                                                                                              
                                                                                      | O---|             |                                                                                                               
                                                                                      | |   A J>R         |                                                                                                                  
J                                                                                     O-|---S T>MN     LS S*---------------------------------------------------------------------------------------------------------------------------QA891------JDE
                                                                                      | |   |             |                                                                                                                            (10)
                                                                                      | |   |             |                                                                                                                            Continue BR
                                                                                      | |   R 1,0       6AR                                                                                                                            and Link
                                                                                      | |   J4--    10 --JD                                                                                                                
                                                                                      | |  No branch
K                                                                                     | |
                                                                                      | |
                                                                                      | |       11 --- 01AF                                                                                                               
                                                                                      | ----K 0010,1      |                                                                                                                
                                                                                      |     |             |                                                                                                                    
L                                                                                     ------S *A4      LS S*---------------------------------------------------------------------------------------------------------------------------QA001------LDE
                                                                                            |             |                                                                                                                            (11)
    QA891.GDE------------------------------------------------------------------------------*|             |                                                                                                                            Restore IC
    (11)                                                                                    R 1,1       F3R                                                                                                                
    Start IC                                                                                L4--    11 --LD                                                                                                               
    restore                                                                                No BR IC stored
M                                                                                          Restore IC so that link can be performed

                                                                                                                                                                                                                         
                                                                                                                                                                                                                               
N                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                         

P

                                                                                                                                                                                                                           
                                                                                                                                                                                                                             
Q                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                           

R

S

 Q
 A
 1
 8                                                                                                                                                | 128015        09/27/65 | Mach          2030       | Date  11/17/65          Sheet    1  QA181 |
 1                                                                                                                                                | 128016        10/01/65 | Name                     | Log    3563             Version           |
                                                                                                                                                  | 128045        11/17/65 | Mode          Manual     |                                           |
                                                                                                                                                  |                        | P.N.          837012     |    RR Branch and Link                     |
                                                                                                                                                  |                        | IBM Corp.                |                                           |