News:

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

Main Menu

Can Uasm/Jwasm produce raw binary?

Started by morgot, June 05, 2025, 10:43:02 AM

Previous topic - Next topic

morgot

Can Uasm/Jwasm produce raw binary format, as example in fasm you can:

format binary
use32

push 0x24
mov ecx,eax

In Uasm I found example Win32_5.asm, but it needs to much code

.386
option casemap:none

_TEXT segment
assume ds:FLAT,es:FLAT
start_text label near

mainCRTStartup proc c
push 0x24
mov ecx,eax
ret
mainCRTStartup endp
_TEXT ends

END

Is it possible to do without it or not ? I don't want to learn fasm.
Sorry for the bad English

Vortex

Hi Morgot,

Uasm and Jwasm can output binary files, reading the manual :

QuoteOption -bin selects output format BINary. The output module's default file extension will be changed from .OBJ to .BIN.

morgot

Quote from: Vortex on June 05, 2025, 06:46:29 PMHi Morgot,

Uasm and Jwasm can output binary files, reading the manual :
Yes, but I must use "text","segment" and other unnecessary words. I can't write ?
.386
mov eax,2
ret
Sorry for the bad English