Name: Anonymous 2005-11-16 23:18
Im working on an animation project with assembly language for x86 processors. In order to slow down the animation itself I originally used delay loops, something like this:
MOV CX,70
xx: PUSH CX
MOV CX,0FFFFH
x: LOOP x
POP CX
LOOP xx
The problem with that kind of loops is that the delay time varies a lot on different computers and I need the animation to run at the same speed everywhere. Im a total n00b regarding assembly language so I would appreciate any suggestions you guys might have.
MOV CX,70
xx: PUSH CX
MOV CX,0FFFFH
x: LOOP x
POP CX
LOOP xx
The problem with that kind of loops is that the delay time varies a lot on different computers and I need the animation to run at the same speed everywhere. Im a total n00b regarding assembly language so I would appreciate any suggestions you guys might have.