                  
                  
00000            arith  START   0    
                  
00000  772034    start  LDT     x    
00003  6F2034           LDS     y    
00006  9054             ADDR    T,S    . shrani vsoto
00008  7F2032           STS     sum    
0000B  9454             SUBR    T,S    . resetiraj S nazaj na y
                  
0000D  9445             SUBR    S,T    
0000F  87202E           STT     diff    . shrani razliko
00012  9045             ADDR    S,T    . popravi T
                  
00014  9854             MULR    T,S    
00016  7F202A           STS     prod    . sharni produkt
                  
00019  77201B           LDT     x    
0001C  6F201B           LDS     y    
0001F  9C45             DIVR    S,T    
00021  872022           STT     quot    . shrani kvocient
                  
00024  772010           LDT     x    
00027  6F2010           LDS     y    
0002A  6B2019           LDB     quot    
0002D  9843             MULR    S,B    
0002F  9435             SUBR    B,T    
00031  872015           STT     mod    . shrani modulo
                  
00034  3F2FFD    halt   J       halt    
00037                   END     start    
                  
                  . podatki
00037  000014    x      WORD    20    
0003A  000003    y      WORD    3    
                  
                  . rezultati
0003D  000000    sum    RESW    1    
00040  000000    diff   RESW    1    
00043  000000    prod   RESW    1    
00046  000000    quot   RESW    1    
00049  000000    mod    RESW    1    
                  
                  . za modulo
0004C  000000    z      RESW    1    
                  
