flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
zhak
How do I concatenate multiple strings into one?
Code: macro cpu? type include 'arch/'#`type#'.inc' end macro cpu 8086 doesn't seem to be working in fasm g |
|||
![]() |
|
bitRAKE
I don't know if this is the intended way?
Code: macro cpu? type* eval 'include "arch/',`type,'.inc"' end macro cpu 8086 ![]() |
|||
![]() |
|
zhak
I'm so dumb
![]() |
|||
![]() |
|
Tomasz Grysztar
I have uploaded the bugfix. Now that macro works correctly also in this form:
Code: struc concat? first*,rest*& . = string first iterate s, rest . = string . + (s) shl (((bsr . - 1) shr 3 + 1) shl 3) end iterate end struc |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.