flat assembler
Message board for the users of flat assembler.

flat assembler > Macroinstructions > FasmG has no irps?

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 613
Code:
        interp 0
macro interp [1]:
        irps i, expr
Processed: irps i, 0
Error: illegal instruction.    

I know match and while can take the place, but curve somehow
Post 26 Sep 2017, 18:06
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6901
Location: Kraków, Poland
Post 26 Sep 2017, 18:16
View user's profile Send private message Visit poster's website Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 613
ok. To me the Search is bad. Usually it gives a lot of items that's no link to what I search
Post 26 Sep 2017, 18:18
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6901
Location: Kraków, Poland
The board is indexed by Google, you can search the forums there with the "site:board.flatassembler.net" prefix.
Post 26 Sep 2017, 18:31
View user's profile Send private message Visit poster's website Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 613
Why do they differ?
Code:
macro run? expr&
    local b, i, x
    match x, expr
        display `x
        irps b, x
            display 'a'
        end irps
    end match
end macro
run k+1

    match x, k+1
        display `x
        irps b, x
            display 'b'
        end irps
    end match
    
Post 26 Sep 2017, 18:39
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6901
Location: Kraków, Poland
The first variant provided there causes some problems inside macros, please try the second one.
Post 26 Sep 2017, 18:45
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6901
Location: Kraków, Poland
OK, I have fixed the first one, too.
Post 26 Sep 2017, 18:50
View user's profile Send private message Visit poster's website 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-2018, Tomasz Grysztar.

Powered by rwasa.