20241205$ cat test.asm section START align=1 nop nop nop section LAST align=16 group GROUP START LAST 20241205$ cat mak.sh #! /bin/bash nasm -fobj test.asm -l test.lst -o test.obj dosemu -dumb -quiet -q -K "$PWD" -E "warplink /mx test.obj,test.exe,test.map;" dosemu -dumb -quiet -q -K "$PWD" -E "x2b2 test.exe test.bin" 20241205$ ./mak.sh About to Execute : warplink /mx test.obj,test.exe,test.map; WarpLink release 0 by ecm (2024 August), Michael Devore (1989-1993). Public Domain software, all copyrights surrendered. Warning in TEST.EXE Problem: No stack segment was found for the EXE file. Solution: This is possibly an error in your program. An EXE file, unlike a COM file, must internally setup its own stack if it has no stack segment. To create a COM file, use the /c option of WarpLink. Total number of warnings: 1 EXE load image size: 001K About to Execute : x2b2 test.exe test.bin X2B2 ecm release 1 - Public Domain Software by Henry T. Nettles Input File ==> "test.exe" Output File ==> "test.bin" Code Size = 3 Code Start = 512 Initial IP = 0 Size of output file = 3 20241205$