Code: Select all
LOOP = LOOP +1 ; LOOP will automatical highlighted
[/list]
Code: Select all
LOOP = LOOP +1 ; LOOP will automatical highlighted
Code: Select all
LOOP - Decrement CX and Loop if CX Not Zero
Usage: LOOP label
Modifies flags: None
Decrements CX by 1 and transfers control to "label" if CX is not
Zero. The "label" operand must be within -128 or 127 bytes of the
instruction following the loop instruction
Clocks Size
Operands 808x 286 386 486 Bytes
label: jump 18 8+m 11+m 6 2
no jump 5 4 ? 2
E2 cb LOOP rel8 Decrement count; jump short if count = 0Code: Select all
!xor ecx, ecx
!mov cx, 52
!lbl:
!pushad
!mov edx, [esp+24]
!mov [v_a], edx
Debug a
!popad
!loop lbl