MOVRF,MOVFR,INCR2,DECR2

プログラム
 
         org       0
         JMP       START

         org       100h
START:   MOVI      R0,50H
         XOR       R2,R2
         MOVRF
         INCR2
         INC       R0
         MOVRF
         INCR2
         INC       R0
         MOVRF
         INCR2
         INC       R0
         MOVRF
         INCR2
         INC       R0
         MOVRF
         INCR2
         INC       R0
         MOVRF
         INCR2
         INC       R0
         MOVRF
         INCR2
         INC       R0
         MOVRF

         XOR       R0,R0
         MOVFR
         DECR2
         MOVFR
         DECR2
         MOVFR
         DECR2
         MOVFR
         DECR2
         MOVFR
         DECR2
         MOVFR
         DECR2
         MOVFR
         DECR2
         MOVFR

         NOP
         NOP

end
 

PDF

LSIM.LBL