Author Topic: are those macros can be done in other better asm ?  (Read 442 times)

whatsup

  • Regular Member
  • *
  • Posts: 11
are those macros can be done in other better asm ?
« on: July 26, 2020, 04:33:50 AM »
like hla and/or flat asm for example ?

Vortex

  • Member
  • *****
  • Posts: 2283
Re: are those macros can be done in other better asm ?
« Reply #1 on: July 26, 2020, 05:46:45 AM »
Hi whatsup,

Welcome to the Masm Forum. Could you provide more details about your question?

whatsup

  • Regular Member
  • *
  • Posts: 11
Re: are those macros can be done in other better asm ?
« Reply #2 on: July 27, 2020, 04:02:26 AM »
thank you
i'm talkin about masmbasic macros
i found them very interseting.
i would like to create like them
(for example Dim,Let macros)
in other asmeblers that i think better and also have much better licence

mainly HLA, and flatasm

i know nothing and understand nothing in macro assembler

i know to program in C,pascal,Basic,Asm (but with no macro knowledge)

so i will be thankfull if some one could show example source code
of the aboove macros in those assemblers.

thanks in advanced.
« Last Edit: July 29, 2020, 04:37:30 PM by whatsup »

jj2007

  • Moderator
  • Member
  • *****
  • Posts: 10468
  • Assembler is fun ;-)
    • MasmBasic
Re: are those macros can be done in other better asm ?
« Reply #3 on: July 27, 2020, 04:12:46 AM »
HLA has been clinically dead for a decade or so, and FASM/NASM are relatively poor on the macro side. For example, they cannot perform a simple Print Str$(ecx)

If the MASM license is a problem for you, use UAsm or AsmC. They are perfect MASM clones, much faster than MASM, up to date, and there are no license restrictions.

whatsup

  • Regular Member
  • *
  • Posts: 11
Re: are those macros can be done in other better asm ?
« Reply #4 on: July 29, 2020, 04:23:32 PM »
thank you very much for replying.
from what i read uasm is watcom based, which means restricted more than GNU and doesn't even consider open source.
asmc is not GNU ?

EDIT: i just checked what i wrote and every thing is correct.

so i reallly need this help about hla.
i have hla3 which meant to be very fast and much enhaced than every other assembler include masm and clones.
so if some one can help with sample source code of a macro (in hla3)
like Dim, Let i'd be thankfull.
thanks in advanced.

jj2007

  • Moderator
  • Member
  • *****
  • Posts: 10468
  • Assembler is fun ;-)
    • MasmBasic
Re: are those macros can be done in other better asm ?
« Reply #5 on: July 29, 2020, 07:49:50 PM »
from what i read uasm is watcom based, which means restricted more than GNU and doesn't even consider open source.
https://opensource.org/licenses/alphabetical - scroll down to Sybase Open Watcom Public License 1.0 (Watcom-1.0)

Re HLA, you need to contact the author, Randall Hyde. He has a profile at LinkedIn.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7461
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: are those macros can be done in other better asm ?
« Reply #6 on: August 01, 2020, 12:57:33 AM »
whatsup,

If you want GNU licenced software for assembler programming, use the GNU AS assembler (GAS). Its a good tool but very low level. If you want a macro assembler and cannot comply with Microsoft's licence, try UASM or ASMC to get a decent pre-processor. FASM is an excellent assembler but also very low level and while it has some macro capacity, it is no competitor of MASM's pre-processor or the MASM clones.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Vortex

  • Member
  • *****
  • Posts: 2283
Re: are those macros can be done in other better asm ?
« Reply #7 on: August 01, 2020, 07:01:06 PM »
Hi whatsup,

Poasm,JWasm and SolAsm are some of the additional choices.

whatsup

  • Regular Member
  • *
  • Posts: 11
Re: are those macros can be done in other better asm ?
« Reply #8 on: August 02, 2020, 05:02:31 AM »
Quote from: hutch--
If you want GNU licenced software for assembler programming

exactly opposite. i said clearly that the ONLY reason i don't want uasm although it is very good assembler,
is because its licence is watcom based which is much worst than GNU.

jj2007

  • Moderator
  • Member
  • *****
  • Posts: 10468
  • Assembler is fun ;-)
    • MasmBasic
Re: are those macros can be done in other better asm ?
« Reply #9 on: August 02, 2020, 06:39:00 AM »
Can you explain how the UAsm license would affect your project?

Vortex

  • Member
  • *****
  • Posts: 2283
Re: are those macros can be done in other better asm ?
« Reply #10 on: August 02, 2020, 07:29:09 PM »
Hi whatsup,

You should give a chance to Asmc and Uasm. Having an idea about the capabilities of those tools would not hurt your programming practice.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7461
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: are those macros can be done in other better asm ?
« Reply #11 on: August 05, 2020, 01:45:33 AM »
 :biggrin:
Quote
exactly opposite. i said clearly that the ONLY reason i don't want uasm although it is very good assembler,
is because its licence is watcom based which is much worst than GNU.
That does not leave you with much, you could try NASM but it has a licence, FASM has a licence, UASM and ASMC have a licence so you are left with GAS which is in fact a very good assembler. Forget MASM, its owned by Microsoft and it has a licence too.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

whatsup

  • Regular Member
  • *
  • Posts: 11
Re: are those macros can be done in other better asm ?
« Reply #12 on: August 05, 2020, 05:28:23 AM »
:biggrin:
Quote
exactly opposite. i said clearly that the ONLY reason i don't want uasm although it is very good assembler,
is because its licence is watcom based which is much worst than GNU.
That does not leave you with much, you could try NASM but it has a licence, FASM has a licence.
stupid licence compare

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7461
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: are those macros can be done in other better asm ?
« Reply #13 on: August 05, 2020, 05:51:31 AM »
Smartarse wisecracks will get you a chance to find what you  hope you will find elsewhere.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

whatsup

  • Regular Member
  • *
  • Posts: 11
Re: are those macros can be done in other better asm ?
« Reply #14 on: August 07, 2020, 07:15:52 AM »
Can you explain how the UAsm license would affect your project?

i have no project

really need to explain ?
read the GNU licence
more ever read about watcom/jwasm licence

for example you cannot use them as a dll unless you open all your sources.
that's with GNU

with uasm the problem is much more big.
if i'm not mistaken you can NOT use it at all except  for personal use (becuase its jwasm based)