LD SM0.0 //always ON
MOVD &VB0, AC2 //point AC2 to starting address of VW10
FOR VW100, 0, VW104 //number of loops are equal to value in VW104, starting from 0
+D 1, AC2 /increment pointer AC2 so that it now points to next address
NEXT // GOback
//at the end of loop AC2 points to address which equal to value in VW104, if VW104 is 1100 then AC2 now points to VB1100
MOVW *AC1, VW112 //move the value in VB1100 to VW112