News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

are those macros can be done in other better asm ?

Started by whatsup, July 26, 2020, 04:33:50 AM

Previous topic - Next topic

jj2007

Quote from: whatsup on August 07, 2020, 07:15:52 AMwith uasm the problem is much more big.
if i'm not mistaken you can use it at all except  for personal use (becuase its jwasm based)

Nonsense. UAsm is a tool, whatever you build using this tool is your own property, fullstop.

http://www.terraspace.co.uk/uasm.html
QuoteUASM's source code is released under the Sybase Open Watcom Public License, which allows free commercial and non-commercial use

Note this is about the UAsm source, not the binary.

whatsup

Quote from: jj2007 on August 07, 2020, 07:25:21 AM

Note this is about the UAsm source, not the binary.
correct . and this is what important to me

Quotenonsense
from wikipedia (https://en.wikipedia.org/wiki/Sybase_Open_Watcom_Public_License)

QuoteThe license has not been accepted as "free" under the Debian Free Software Guidelines, due to the license's termination clauses.
QuoteThis makes the Watcom license also GPL incompatible and a stronger copyleft license than the GPL and even the AGPL

Vortex

Hi whatsup,

You told that you don't have any project so why do you criticise those licencing schemes?

whatsup

Quote from: Vortex on August 09, 2020, 05:05:09 AM
Hi whatsup,

You told that you don't have any project so why do you criticise those licencing schemes?
geniuos question

why do you buy clothes before your'e naked ?

Vortex

#19
Well, clothes are basically required to protect your body and this has nothing to do with programming. The purpose of my question :

QuoteIf one does not know to which port one is sailing, no wind is favorable.

Lucius Annaeus Seneca

jj2007

Quote from: whatsup on August 09, 2020, 04:35:18 AM
Quote from: jj2007 on August 07, 2020, 07:25:21 AM

Note this is about the UAsm source, not the binary.
correct . and this is what important to me

Explain why the license of the UAsm source is important for you. Do you want to write your "own" assembler based on the Watcom sources?

whatsup

Quote from: jj2007 on August 09, 2020, 07:20:53 AM
Explain why the license of the UAsm source is important for you. Do you want to write your "own" assembler based on the Watcom sources?

another try:
Quotefor example you cannot use them as a dll

Vortex

You can try this one :

fasm as DLL

https://board.flatassembler.net/topic.php?t=6239

whatsup

Quote from: Vortex on August 12, 2020, 03:19:59 AM
You can try this one :

fasm as DLL

https://board.flatassembler.net/topic.php?t=6239

thanks i know. and that's why i asked if the macros by jj2007 can be done with fasm/hla/nasm.

Vortex

Sadly, Fasm does not support inline macros :

https://board.flatassembler.net/topic.php?p=30424

jj2007

From the FASM author:
QuoteTomasz Grysztar
No, inlining the macros is something against the fasm's concept

So it seems you have to either use the MasmBasic macros or you have to find "other better asm" to roll your own :cool:

Vortex

Hi whatsup,

Could you try SolAsm?

http://www.oby.ro/sol_asm/index.html

http://www.oby.ro/sol_asm/sol_asm_license.htm

Quote7.6.7 Using EXITM in macros
EXITM can be used to return a token from a MACRO expansion.

For example
MACRO RV
   MARG func, params

   invoke func,params

   ; return something from macro
   exitm eax
ENDM

; later on in code
   ...
   mov   ecx,RV GetModuleHandle
   invoke   ExitProcess, < RV GetModuleHandleA >
   push   RV GetModuleHandleA
   ...


whatsup

thank you very much all.
i'll see what i  do.
i might ask in nasm forum.
and if no, uasm is a good choice .
i already tested it, and it works well.

vortex i don't see any good over uasm because it (solasm) doesn't include source code

guga

If you want a Nasm style syntax to better handle the macros, you can try RosAsm that have a syntax closer to Nasm.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

mineiro

Hello sir whatsup;
From ms-dos days I remember TMA assembler; it's GNU and source code is available.
http://www.hugbox.org/software/tma-macro-assembler/

Well, if my memory is good I suppose that I have seen source code of initial solasm assembler project in internet. Don't remember now where I have seen that.

Just a question, what about a preprocessor? Sounds more easy create a translator, most of these assemblers use intel syntax. Asking this because debug macros to me is hard, debug our own  program is a bit more easy.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything