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

#21
Windows API / WM_SETFONT behaviour changed b...
Last post by jj2007 - July 15, 2024, 07:42:44 PM
invoke SendMessage, hControl, WM_SETFONT, hFont, 0

That worked fine in Windows 7, but Windows 10 requires 1 as redraw flag
#22
The Campus / Re: ML errors
Last post by jj2007 - July 15, 2024, 05:36:20 PM
Quote from: daydreamer on July 15, 2024, 02:23:16 AMM2m ace2,ace

No error? Which macro is that?
#23
The Workshop / Re: Echo value of offset
Last post by daydreamer - July 15, 2024, 05:07:02 PM
Quote from: NoCforMe on July 15, 2024, 04:27:48 AMIt's a mid-level language then: certainly higher than punching in raw opcodes in binary, but nowhere near as high level as, say, C++, where all kinds of calculations (addresses, array indices, structure selectors) are done for you behind the scenes.
For asm programmers:
More freedom howto code ,but responsible for code adresses right or its buggy code instead of compiler automatically codes byte,word,dword/real4,qword/real8 arrays right
Ofcourse i could use masm way to code struct arrays if i want or take care of itself with manually code it
#24
The Workshop / Re: Echo value of offset
Last post by Rockphorr - July 15, 2024, 07:22:57 AM
Any way, we enjoy by the lea instruction  :biggrin:  :biggrin:  :biggrin:  :biggrin:
#25
The Workshop / Re: Echo value of offset
Last post by NoCforMe - July 15, 2024, 04:27:48 AM
Quote from: Rockphorr on July 15, 2024, 12:02:44 AMYes it is [a high-level language]. By the assembly we write code as we need, but we also need to solve addresses and expressions automatic.

It's a mid-level language then: certainly higher than punching in raw opcodes in binary, but nowhere near as high level as, say, C++, where all kinds of calculations (addresses, array indices, structure selectors) are done for you behind the scenes.
#26
The Campus / Re: ML errors
Last post by daydreamer - July 15, 2024, 02:23:16 AM
Thanks david
.data
Ace2 db 0 ;copy of ace here
Twos db 0,0,0,0,0,0,0,0,0,0,0,0
Ace db 0
.code
...previous code checks statistics on number of twos to aces and write to twos db to aces db
Mov ebx,0
M2m ace2,ace
L1:
Mov eax, dword ptr [ace2+ebx]
Mov dl,[ace2+5+ebx]
#27
The Workshop / Re: Echo value of offset
Last post by Rockphorr - July 15, 2024, 12:02:44 AM
Quote from: TimoVJL on June 12, 2024, 11:32:00 PM
Quote from: Rockphorr on June 12, 2024, 07:42:19 PM
Quote from: NoCforMe on June 12, 2024, 06:10:10 AM
Quote from: Rockphorr on June 11, 2024, 03:43:01 AMProblems come when using on bounds...
Bounds? as in array bound checking?
Just curious.


As bounds of assembler abilities. A default solution is the immediate value, but i need to get that from the expression of offsets.
masm isn't high level language, just with macro language additions.


Yes it is. By the assembly we write code as we need, but we also need to solve addresses and expressions automatic.
#28
Miscellaneous Projects / Re: UASM64 Library
Last post by jack - July 14, 2024, 09:12:15 PM
@fearless
thank you  :thumbsup:
#29
ObjAsm / Re: h2inc+
Last post by Biterider - July 14, 2024, 06:01:17 PM
Hi sinsi
Quote from: sinsi on July 14, 2024, 05:40:58 PMCool, where do I find @DefProto?
QuoteThe @DefProto macro is defined in WinAsm.inc 
WinAsm.inc is part of this download https://masm32.com/board/index.php?topic=12029.0
You can download it from the attachement too.

Biterider
#30
ObjAsm / Re: h2inc+
Last post by sinsi - July 14, 2024, 05:40:58 PM
Cool, where do I find @DefProto?