Who was the Masm32 original author?
Long ago I wrote "Masm32" and put it on a floppy for use of the employer but another technician put it on the internet without my consent. I've just looked through my floppies and there are 5 (1..5) of Masm 6.11 and 1 of Masm 6.14.zip. If someone looks at the original (I can't find it at this time) my email provider is on the disk, and is something like Cantec. I'll do some more searching for the original.
I've found the 16-bit version. Here's an example (ITOFT):
.386p
code32 segment para public use32
assume cs:code32, ds:code32, es:code32
include pmath.inc
;------------------------------------
; convert signed integer to a REAL4
;
; Returns eax = REAL4
;------------------------------------
s_struc struc
dd ? ; ebp
dd ? ; caller
integer dw ?
s_struc ends
retval = (size s_struc) - 8
itoft:
push ebp
mov ebp, esp
push bx esi edi
mov eax, 0
mov edi, REAL4BIAS + 15
mov bx, [ebp].integer
or bx, bx ; if integer == 0
jz exit ; return eax=0
mov esi, 0 ; assume sign = +
jg f1 ;
mov esi, 1 ; sign = -
neg bx
f1:
test bx, 8000h
jnz f2
dec edi ; bias--
shl bx, 1 ;
jmp s f1
f2:
movzx eax, bx ; integer
shl eax, 17 ; remove explicit 1
shrd eax, edi, 8 ; insert bias
shrd eax, esi, 1 ; insert sign
exit:
pop edi esi bx
pop ebp
ret retval
code32 ends
end
The files are all dated 1994. I found them on a floppy disk. At my age I'm a little past it. I concede that maybe someone else may have wriitten them too (smile).