I was trying to learn MASM and I saw about .FPO, I tried to use it in my code and it didn't work, it gave me a syntax error, but if I compile without .FPO it works
Here's some code to serve as an example:
.MODEL small
.STACK 100h
.DATA
.CODE
sample proc
.FPO (0, 0, 0, 0, 0, 0)
int 3
sample endp
end sample
If you remove the .FPO and compile it works normally
One point that I found curious, if you don't use the -Zm parameter, the FPO name doesn't appear in the error
With -Zm:
JWasm v2.18, Jun 7 2024, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
test.asm(7) : Error A2209: Syntax error: .FPO
test.asm: 13 lines, 1 passes, 0 ms, 0 warnings, 1 errors
Without -Zm:
JWasm v2.18, Jun 7 2024, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
test.asm(7) : Error A2209: Syntax error: .
test.asm: 13 lines, 1 passes, 0 ms, 0 warnings, 1 errors
Documentation about the FPO
I was trying to learn MASM and I saw about
.FPO, I tried to use it in my code and it didn't work, it gave me a syntax error, but if I compile without.FPOit worksHere's some code to serve as an example:
If you remove the .FPO and compile it works normally
One point that I found curious, if you don't use the
-Zmparameter, the FPO name doesn't appear in the errorWith
-Zm:Without
-Zm:Documentation about the FPO