I was currently programming using masm 32 and was confused why i recieved an error for creating this proc
;----------------------------------------
storeValues PROC ,
outputText:PTR BYTE, listPointer:PTR BYTE
; Prompts user for an integer. Saves the integer in the array
; Returns: EAX -- stores count
;------------
mov edx,outputText
L1:
call WriteString
call ReadFloat
fild 100
fcomp compareVal
jg endLoop
fld 100.00
fcomp compareVal
jl endLoop
fstp REAL8 PTR [esi]
add esi, TYPE REAL8
endLoop:
storeValues ENDP
END main
I wanted to know if there was any way to fix this so it would in this proc
- post complete examples, from include .... to end start
- post the error message, and show us the line where it is happening
- attached the help for FPU opcodes
- use Masm32 (\Masm32\help\masmlib.chm) or MasmBasic (http://www.webalice.it/jj2006/Masm32_Tips_Tricks_and_Traps.htm) - the irv32 lib is kind of obsolete
- study \Masm32\Examples