0                    1                    2                     3                     4                     5                     6                     7                     8                     9

                         This micro program performs the final part of the branch           The routines on this page allow the use of five special
                         ing on the opcode tot he RR and, subtract, compare, load,          op codes (0C,0D,0E, and 99) with 1401 mode switching. If
                         multiply,divide,add logical,subtract logical,set tag               the zero bit in K28 is off, these are normal system 360
A                        insert tag,and supervisor call. It also sets up the                invalid ops. If it is on, they perform special 1401 mode
                         register addresses in registers V and T as required                switching functions.

 

B

                                                                                                01 --- 0375           01 --- 0385           01 --- 030D                                                                    
                                                                                            K 110,0       |       |             |       K 0001,0      |                                                                    
                                                                                            A LL+LL>D     |       A DL+DL>T     |       A 0+0+1>L     |                                                                      
C   QA461.QCF-------------------------------------------------------------------------------S *BC      LS S*------S WRITE       |*--O---S         K>W R*----------------------------------------------O                                              
    (01)                                                                                    C HZ>S4       |       C             |   |   C 0>S6        |                                               |                        
    Op code 99                                                                              |             |       |             |   |   |             |                                               |                    
                                                                                            R 0,1       85R       R R0,1      0DR   |   R 1,1         |                                               |                     
                                                                                            C4--    01 --CD       C5--    *1 --CE   |   C6--    11 --CF                                               |                       
                                                                                           Set S4 if             Initialize T       |  Inv op                                                         |
D                                                                                          aux storage           for starting       |                                                                 |
                                                                                           A required in         addr in load       |                                                                 |
                              11 --- 02EB           00 --- 039C                                                  and store          |       11 --- 030F                                               |                    
                          K 0011,1      |       K 0011        |                                                  variables          |   K 0000,0      |                                               |                     
                          A DXH+K:>VC   |       A DH+KL>T     |                                                                     |   A 0+LH+1>G    |                                               |                        
E   QA461.QCF---------O--*S         K>W R*--O---S UV>MN    LS S*---                                                                 ----|             |*-------------------------------------------------------------------------------QE511------EFE
    (01)              |   C 0>S4,S5     |   |   |             |   |                                                                     |             |                                               |                                (11)
    Op code 99        |   |             |   |   |             |   |                                                                     |             |                                               |                                Do op 99
                      |   R G6,G5     9CR   |   R 0,G7      F0R   |                                                                     R 1,CA13>W  F6R                                               |                    
                      |   E1--    ** --EA   |   E2--    0* --EB   |                                                                     E6--    .. --EF                                               |                     
                      |  Op branch to       |  Load, compare      |                  Location K28 is set to zero during                Change to 1401                                                 |
F                     |  separate MPY       |                     |                  the system reset microprogram. The                ROS module 13                                                  |
                      |  and DIV            |                     |                  following diagnose instruction                                                                                   | 
                      |                     |       10 --- 039E   |                  838003CC, given in supervisor mode                     00 --- 03CC           00 --- 0388                         |       ** ---  XXX
                      |                     |   K 0011        |   |                  will cause this two word micro-                    K 1100,0      |       K 0001,0      |                         |   | GO TO       |
                      |                     |   A DH+KL>T     |   |                  program to be executed and 80 will                 A L>R         |       A 0>L         |                         |   | QA001.CBB   |    
G                     |                     O---S UV>MN    LS S*--O                  be put in K28. Following that diag-                S *BC      LS S*------S STORE   K>W R*----------------------------|             |                            
                      |                     |   |             |   |                  node, any of the special ops can                   C 0>S6        |       C 0>S2        |                         |   |             |    
                      |                     |   |             |   |                  be used if the mode switching feat-                |             |       |             |                         |   |             |
                      |                     |   R 1,G7      F2R   |                  ure is installed.                                  R 0,0       88R       R S1,INTR     |                         |   |             |
                      |                     |   G2--    ** --GB   |                                                                     G6--    00 --GF       G7--    ** --GG                         |   G9--    ** --GJ
                      |                     |  Add, subtract      |                                                                                                                                   |  Norm I cycle
H                     |                     |                     |                                                                                                                                   |  start
                      |                     |                     |                                                                                                                                   |
                      |                     |       11 --- 039F   |                                                                                                                                   |
                      |                     |   K 0011        |   |                                                                                                                                   |
                      |                     |   A DH+KL>T     |   |                                                                                                                                   |
J                     |                     O---S UV>MN    LS S*--O--------------------------------------------------------------------------------------------------------------------------------------------------------------------QA411------EBE
                      |                     |   C 1>S6        |                                                                                                                                       |                                (00,01,10,11)
                      |                     |   |             |                                                                                                                                       |                                RR ADD SUB 
                      |                     |   R 1,G7      F2R                                                                                                                                       |                                CMP, LD
                      |                     |   J2--    1* --JB                                                                                                                                       |
                      |                     |  Set S6 for ADD                                                                                                                                         |
K                     |                     |  or SUB logical                                                                                                                                         |
                      |                     |                                                                                                                                                         |
                      |                     |       01 --- 039D           11 --- 0397                                                                                                                 |
                      |                     |   K 0011        |       K 0001,0      |                                                                                                                 |
                      |                     |   A DH+KL>T     |       A TX,K>Z      |                                                                                                                 |
L                     |                     ----|             |*------S         K>W R*-------------------------------------------------------------------------------------------------------------------------------------------------QA511------LCE
                      |                         |             |       C LZ>S5       |                                                                                                                 |                                (00)
                      |                         |             |       |             |                                                                                                                 |                                RR MPY,DIV
                      |                         R 1,1       97R       R 0,0       04R                                                                                                                 |
                      |                         L2--    11 --LB       L3--    00 --LC                                                                                                                 |
                      |                        MPY, DIV              Test even reg                                                                                                                    |
M                     |                                                                                                                                                                               |
                      |                                                                                                                                                                               |
                      |       10 --- 02EA           10 --- 02DA           00 --- 02D4                                                                                                                 |                  
                      |   K 1100,0      |       K 0011        |       K 0001,0      |                                                                                                                 |                  
                      |   A DXH+o+1>V   |       A DH+KL>T     |       |             |                                                                                                                 |                      
N                     ---*S *BC      LS S*--O---S WRITE       |*--O---S         K>W R*-------------------------------------------------------------------------------------------------------------------------------------------------QA211------NCE
                          |             |   |   |             |       |             |                                                                                                                 |                                (00)
                          |             |   |   |             |       |             |                                                                                                                 |                                Keys and
                          R 1,G5      DAR   |   R 0,0         |       R 0,0       24R                                                                                                                 |                                Super call
                          N1--    1* --NA   |   N2--    00 --NB       N3--    00 --NC                                                                                                                 |                  
                         Stor protect       |  Separate inv op                                                                                                                                        |
P                        Key ops and        |                                                                                                                                                         |
                         super call         |                                                                                                                                                         |
                                            |       11 --- 02DB           01 --- 0125                                                                                                                 |       11 ---  XXX
                                            |   K 0001,0      |       |             |                                                                                                                 |   | GO TO       |
                                            |   A GQKJ<G      |       A 0+0+1>L     |                                                                                                                 |   | QA879.CAE   |    
Q                                           ----S WRITE   K>W R*--O---|             |-----------------------------------------------------------------------------------------------------------------O---|             |                              
                                                |             |   |   C 0>S6        |                                                                                                                     |             |    
                                                |             |   |   |             |                                                                                                                     |             |
                                                R R0,1      25R   |   R 1,1       47R                                                                                                                     |             |
                                                Q2--    *1 --QB   |   Q3--    11 --QC                                                                                                                     Q9--    11 --QJ
                                                                  |  Inv op                 The zero bit in K28 is on therefore 140J                   G3 has been turned on to                          Prg int
R                                                                 |                         mode switch move ops can be used. These ops                provide a means of exiting
                                                                  |                         (0C,0D,0e and 0F) require the IC be stored                 from the store IC routine.
                                                                  |       11 --- 0127
                                                                  |   K 0010,1      |
                                                                  |   A J>R         |
S                                                                 ----S *AA      LS S*--------------------------------------------------------------------------------------------------------------------------------------------------QA511------SCE
                                                                      C 1>S5        |                                                                                                                                                   (00,11) 
                                                                      |             |                                                                                                                                                   Store IC
 Q                                                                    R S1,1      F5R
 A                                                                    S3--    *1 --SC
 0
 4                                                                                                                                                | 128015        09/27/65 | Mach          2030       | Date  11/17/65          Sheet    1  QA041 |
 1                                                                                                                                                | 128016        10/01/65 | Name                     | Log    3563             Version           |
                                                                                                                                                  | 128036        11/05/65 | Mode          Manual     |                                           |
                                                                                                                                                  | 128045        11/17/65 | P.N.          837008     |    RR op branch and 1401                  |
                                                                                                                                                  |                        | IBM Corp.                |    mode switching ops                     |