flat assembler
Message board for the users of flat assembler.
Index
> Main > WHILE, END WHILE Problem |
Author |
|
DOS386 22 Mar 2008, 00:20
Move to "Macroinstructions" ... sorry no idea, I don't use "while"
_________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
22 Mar 2008, 00:20 |
|
ic2 22 Mar 2008, 00:38
Got it!!! I didn't use .endw properly when I was playing with it.
Code: .while esi<edi dec edi mov al, [esi] mov ah, [edi] mov [edi], al mov [esi], ah inc esi .endw |
|||
22 Mar 2008, 00:38 |
|
rugxulo 24 Mar 2008, 03:43
This probably isn't the best example. I mean, it's just a cmp + jae.
|
|||
24 Mar 2008, 03:43 |
|
ic2 25 Mar 2008, 03:46
It might not be the best but it's my favorite way to code. After I get good at it than I might learn how to write some macros. I just wanted to see WHILE work in fasm before moving on. I use cmp + jnb and it works well... Jump if Above or Equal put a new twist on things. I'm going play with that one for the next few days.
Thanks rugxulo |
|||
25 Mar 2008, 03:46 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.