News:

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

Main Menu

Recent posts

#1
Windows Projects / Hyper v2.2.0
Last post by i Z ! - Today at 04:38:12 AM
Version 2.2.0
- Conversion from decimal with a negative exponent fixed (e.g. "1e-1000")
- Corrected Add(Int64, Exp) procedure, which was maybe causing to occasionaly misinterpret decimal output

Also I've put back up my website again with References page

if anyone cares to test... but it's still not code-signed so prepare for all kinds of warnings before installation
#2
Game Development / Re: An Anti-Alised Thick Line:...
Last post by HSE - October 09, 2024, 05:41:48 AM
Hi all!

A more efficient process, 100% in a single line.

Updated in first post.

Regards, HSE.
#3
The Campus / Re: LINK : error LNK2001: unre...
Last post by cyrus - October 09, 2024, 04:48:59 AM
hey guys thanks for all the replies to this thread. definitely learned a lot!
#4
Examples / Re: Re: Macro Definition & usa...
Last post by stoo23 - October 08, 2024, 07:55:00 PM
I moved these posts here to this New Topic, thinking that perhaps further useful & creative discussion might occur on the Topic but sadly, it seems Not,..

I have attempted to tidy it up and will leave it open, in the hope that further reasonable and civil discussion can occur  :smiley:
#5
Assembly languages for non-x86 ISAs / Re: BeagleV Ahead: a RISC-V as...
Last post by lucho - October 08, 2024, 04:56:10 PM
He wrote that he's busy with his current books on x64 and ARM, and his future RISC-V book will be based on several SBCs, among which (I verified that) the BeagleV Ahead is still the fastest one. "The Art of ARM Assembly" is based on the ARM-based Mac running macOS and the 64-bit Raspberry Pi running Linux. So his examples can be studied also on my ARM machine, if one wishes so.

By the way, RISC-V is the ISA that has the minimum differences between its 32-bit and 64-bit versions. These differences are described in literally a few pages. This is one of its advantages.
#6
Poasm / Process entry block sample
Last post by Vortex - October 08, 2024, 03:28:17 AM
Here is a quick sample :

.386
.model flat,stdcall
option casemap:none

include PEBstruct.inc

.data

msg1    db "OSMajorVersion= %u",13,10,13,10,0
msg2    db "OSMinorVersion = %u",0

.code

start:

    call    main
    invoke  ExitProcess,0

main PROC uses ebx

    invoke  RtlGetCurrentPeb
    mov     ebx,eax

    invoke  printf,ADDR msg1,\
            PEB.OSMajorVersion[ebx]

    invoke  printf,ADDR msg2,\
            PEB.OSMinorVersion[ebx]
    ret

main ENDP

END start
#7
The Campus / Re: Using Visual Studio and Ma...
Last post by zedd151 - October 08, 2024, 02:35:24 AM
Thanks guys for the replies.  :thumbsup:
It seems there are more members here than I had even thought, that use Visual Studio.
So I think if someone needs assistance in setting up VS + masm  (one of the SDKs that is) and posts questions in the Campus about any issues,  there is a high probability of their query being answered by someone with experience and knowledge with that scenario.  Thanks again.

Perhaps I was making much ado about nothing. And perhaps a separate board for Visual Studio+Masm SDK's is unwarranted. As suggested a "sticky topic" with helpful instructions might be all that is needed.
 Any thoughts? Any willing volunteers for that little task?
#8
Examples / Re: Re: Macro Definition & usa...
Last post by HSE - October 08, 2024, 12:09:37 AM
Quote from: ognil on September 25, 2024, 01:13:56 PMMACROS is a deprecated method for expanding text during assembly

Not really. Where you found that fallacy?
#9
Examples / Re: 64 bit examples for beginn...
Last post by stoo23 - October 07, 2024, 05:32:55 PM
This topic was tidied up, with Removed 'posts' Merged with the existing Removed post Topic, here: Re: Macro Definition & usage discussion + supplementary
#10
Examples / Re: Re: Macro Definition & usa...
Last post by sinsi - October 07, 2024, 03:54:33 PM
Remove the line include \masm64\include64\masm64rt.inc and let us know how you fare with no macros.