Assembly copying from one array to another
问题 and sorry for the title, i couldn't imagine a way to express this in english. So i'm writing a little game in assembly for a course, and, inside of two for loops, i copy the pixel data from the "bomb" vector of pixels, to the "area" vector of pixels, which will later be drawn to the screen. In C, it should look like this: int x, y; for(int i=0;i<32;i++) for(int j=0;j<32;j++) area[x+i][y+j]=bomb[i][j]; Using masm assembler and notepad++ to write the code, i got mov ecx, 0 ; my i outerloop: cmp