Uasm occasionally puts a binary zero character in the output listing, which makes my editor think it's a binary file and it then goes into dump mode.
eg.
The following program-
.686
.model Flat, Stdcall
option Casemap :None
t1 equ -1
.code
program:
ret
end program
assembled with the options: /nologo /c /coff /Cp /Fl /Sn /Sg
produces the listing that looks like -
UASM v2.36, Jun 8 2017
F:\WinAsm\Progs\AMiscTests\smalltest\tst.asm
.686
.model Flat, Stdcall
00000000 * _TEXT segment PARA FLAT PUBLIC 'CODE'
* _TEXT ends
00000000 * _DATA segment PARA FLAT PUBLIC 'DATA'
* _DATA ends
* assume cs:flat,ds:flat,ss:flat,es:flat,fs:ERROR,gs:ERROR
option Casemap :None
= FFFFFFFF t1 equ -1
.code
00000000 * _TEXT segment
* assume cs:FLAT
00000000 program:
00000000 C3 ret
end program
00000001 F:\WinAsm\Progs\AMiscTests\smalltest\tst.asm: 10 lines, 2 passes, 0 ms, 0 warnings, 0 errors
however, if you dump the .lst file, at byte 236h there is a binary zero
This is the way my editor sees the file
00000200h: 20 20 20 6F 70 74 69 6F 6E 20 43 61 73 65 6D 61 ; option Casema
00000210h: 70 20 3A 4E 6F 6E 65 20 20 20 20 0D 0A 0D 0A 20 ; p :None ....
00000220h: 3D 20 46 46 46 46 46 46 46 46 20 20 20 20 20 20 ; = FFFFFFFF
00000230h: 20 20 20 20 20 20 00 20 20 20 20 20 20 20 20 74 ; . t
00000240h: 31 20 65 71 75 20 2D 31 0D 0A 0D 0A 20 20 20 20 ; 1 equ -1....
00000250h: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ;
00000260h: 20 20 20 20 20 20 20 20 20 20 20 20 2E 63 6F 64 ; .cod
00000270h: 65 0D 0A 30 30 30 30 30 30 30 30 20 20 20 20 20 ; e..00000000