flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > exit macros

Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Has anyone defined, or would it be possible to define, exit macros for the conditonal if/repeat/while macros? like .repeat, .exitrepeat, .until
or .while, .exitwhile, .endw ???
Post 20 Apr 2006, 13:52
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
better name would be "break" Wink
Post 20 Apr 2006, 15:38
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
okasvi



Joined: 18 Aug 2005
Posts: 382
Location: Finland
okasvi
vid wrote:
better name would be "break" Wink


not if you ask from tom tobias Laughing

_________________
When We Ride On Our Enemies
support reverse smileys |:
Post 20 Apr 2006, 18:58
View user's profile Send private message MSN Messenger Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Laughing
Post 20 Apr 2006, 21:02
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
I guess I take the silence and off topic remarks as a NO. Very Happy I'll see if I can do some macro magic myself then. Wink
Post 22 Apr 2006, 19:08
View user's profile Send private message Reply with quote
okasvi



Joined: 18 Aug 2005
Posts: 382
Location: Finland
okasvi
madmatt wrote:
I guess I take the silence and off topic remarks as a NO. Very Happy I'll see if I can do some macro magic myself then. Wink


any success?

_________________
When We Ride On Our Enemies
support reverse smileys |:
Post 27 Apr 2006, 03:58
View user's profile Send private message MSN Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7797
Location: Kraków, Poland
Tomasz Grysztar
Small hint: to exit from the standard ".while" macro loop, you can use:
Code:
jmp __ENDW    
Post 27 Apr 2006, 09:04
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
okasvi: Haven't even tried yet. Been busy with other programming stuff.
tomasz: alright, what about .repeat and .if ??
Post 28 Apr 2006, 09:11
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7797
Location: Kraków, Poland
Tomasz Grysztar
I leave it as an exercise to the reader. Wink
Post 28 Apr 2006, 13:47
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Ah yes! Smile I can do it Exclamation
Post 29 Apr 2006, 06:16
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.