News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

cycle with high level

Started by korte, January 08, 2008, 04:59:25 PM

Previous topic - Next topic

NightWare

Quote from: korte on January 09, 2008, 04:19:05 AM
high level implentation?  :bg

houla... i can't help you here... i've never used the high level syntax...  :red

Tight_Coder_Ex

Quote from: korte on January 08, 2008, 04:59:25 PM

cycle:
      mov al,[esi]
     cmp al,0
     jz cycle_end
     mov [edi],al
     inc esi
     inc edi
    jmp cycle
cycle_end:


My two bits worth, provided processor is compatible

cycle:
    cmp byte ptr [esi], 0
    jz cycle_end
    movsb
    jmp cycle
cycle_end:
Quote