The MASM Forum

General => The Campus => Topic started by: ragdog on March 07, 2018, 06:20:19 AM

Title: Radasm Codesize Addin
Post by: ragdog on March 07, 2018, 06:20:19 AM
Hello

I found on old Masm32 board Radasm Codesize Addin.

http://www.masmforum.com/board/index.php?PHPSESSID=f423fc09e888cbeea447549eef9a8915&topic=6880.0

Is this addin Open source?
If yes can any share this?

Regards,
Title: Re: Radasm Codesize Addin
Post by: HSE on March 07, 2018, 08:58:09 AM
Hi Ragdog!
In the Radasm section of "rarely used projects" You can find the last version from Fearless. If remember well all addins' codes are in the full package.

Title: Re: Radasm Codesize Addin
Post by: ragdog on March 07, 2018, 08:41:10 PM
Hello

Sure i have look first in the Radasm section but i cannot found any source from Codesize
only the compiled dll for Radasm2.

Greets,
Title: Re: Radasm Codesize Addin
Post by: jj2007 on March 07, 2018, 10:45:19 PM
There is a CodeSize macro (http://www.webalice.it/jj2006/MasmBasicQuickReference.htm#Mb1221) in MasmBasic. Just search MasmBasic.inc, it's fairly simple.
Title: Re: Radasm Codesize Addin
Post by: ragdog on March 08, 2018, 02:31:42 AM
Hello Jochen

I know it with macros like your macro
http://masm32.com/board/index.php?topic=6163.msg66974#msg66974


or code (set lables and Endcode - Startcode)


StartCode::
invoke GetTickCount
xor eax,eax
EnCode::
mov eax,offset EnCode-StartCode
invoke printf,chr$ (" %02d",CR,LF),eax


But from Radasm2 is nice i can see the code size in editor.