The  instruction  is:  Op   Code   x,   0,   CVB   7  5  6  50   Reg  7  (after)  00000000000000000110001111111010   Condition  code:  unchanged.  
Convert toDecimal   The  binary  contents  of  general  register  3  are  to  be  
converted into a packed decimal integer of 15 digits
and sign and stored in double-word location2000.   Assume:  00   00   00   40   00   00   18  60   Reg  4  
Reg 15
Reg 3
Loc2000   (before)  00000000   00000000   010   11  0   11  01000001   01   47  63  27  42  73  21  17  
The instruction is:
opCode   R,   x,   CVD   I   3  4  15  100   Loc  2000   (after)  00   00   00   00   00   23  36  1  +  
Condition code: unchanged.
StoreMultiple   The  contents  of  general  registers  14,  15,  0,   and  1  are  
to be stored in consecutive words starting with4050.   Assume:  
Reg 14
Reg 15
Reg0   Reg  1.  
Reg 6
Loc4050-4053   (before)  
Loc4054-4057   (before)  
Loc4058-4061   (before)  
Loc4062-4065   (before)  
The instruction is:Op   Code   Ra   00   00   25  63  00   01   27  36  
12 4300   62  
73 26 12 5700   00   40   00   63  25  41  32  
17 25 63 4207   16  32  71  
98 67 45 210,   c=i_TM   __  50   ____  4050-4053   (after)  
Loc4054-4057   (after)  
Loc4058-4061   (after)  
Loc4062-4065   (after)  
Condition code: unchangedDecimal   Add  00   00   25  63  00   01   27  36  
12 4300   62  
73 26 12 57
The signed, packed decimal field at location500-503   is  to  be  added  to  the  signed,  packed  decimal  field  at  
location2000-2002.   Assume:  
Reg 12
Reg 13
Loc2000-2002   (before)  
Loc500-503   00   00   20   00   00   00   04   80   38  46  0-   01   1.2  34  5+  
The instruction is:Op   Code   L,   L,   B,   Loc  2000-2002   (after)  73  88  5+  
Condition code = 2; sum is greater than zero.Zero   and  Add  0,   20   i'U   The  signed,  packed  decimal  field  at  location  4500-   4502   is  to  be  moved  to  location  4000-4004   with  four  
leading zeros in the result field.
Assume:
Reg 9
Loc4000-4004   (before)  
Loc4500-4502   The  instruction  is:  k   •   00   00   40   00   12  34  56  78  90   38  46  0-   0,   a  
O 2500   i'U   Loc  4000-4004   (after)  00   00   38  46  0-   Condition   code  =  1.;  sum  is  less  than  zero.  
CompareDecimal   The  contents  of  location  700-703   are  to  be  compared  
algebraically with the contents of location500-503.   Assume:  
Reg 12
Reg 13
Loc700-703   Loc  500-503   The  instruction  is:  00   00   05   50   00   00   04   00   1.7  25  35  6+  06   72  1.4  2+  100   i'U   Condition   code  =  2;  first  operand  is  high.  Multiply   Decimal   The  signed,  packed  decimal  field  in  location  1200-1204   is  to  be  multiplied  by  the  signed,  packed  decimal  field  
in location500-501,   and  the  product  is  to  be  placed  in  
location1200-1204.   Assume:  
Reg 4
Reg 6
Loc1200-1.204   (before)  
r ,oc500-501   The  instruction  is:  Op   Code   L,   k   Bl  
Loc1200-1204   (after)  
Condition code: unchanged.
a00   00   12  00   00   00   02   50   00   00   38  46  0-   32  1-  I   6  I   250   01   23  45  66  0+   Appendix  A  123  
Convert to
converted into a packed decimal integer of 15 digits
and sign and stored in double-word location
Reg 15
Reg 3
Loc
The instruction is:
op
Condition code: unchanged.
Store
to be stored in consecutive words starting with
Reg 14
Reg 15
Reg
Reg 6
Loc
Loc
Loc
Loc
The instruction is:
12 43
73 26 12 57
17 25 63 42
98 67 45 21
Loc
Loc
Loc
Condition code: unchanged
12 43
73 26 12 57
The signed, packed decimal field at location
location
Reg 12
Reg 13
Loc
Loc
The instruction is:
Condition code = 2; sum is greater than zero.
leading zeros in the result field.
Assume:
Reg 9
Loc
Loc
O 2
Compare
algebraically with the contents of location
Reg 12
Reg 13
Loc
in location
location
Reg 4
Reg 6
Loc
r ,oc
Loc
Condition code: unchanged.
a
 
             
            






































































































































































