Hi,
according to the Programmer's Manual, the switch $W should toggle the generation of stackframes. Using {$W-} (or {$STACKFRAMES OFF}) gives me
Warning: Unsupported switch $W
What's the reason for this?

Mailing lists / fpc-pascal / 2002-05
6 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
according to the Programmer's Manual, the switch $W should toggle the generation of stackframes. Using {$W-} (or {$STACKFRAMES OFF}) gives me
Warning: Unsupported switch $W
What's the reason for this?
Hi,
I've just encountered a problem with FPU code in BASM:
source line:
fsub st(1),st(0)
delphi compiles:
fsub st(1),st(0) opcode: DC E9
fpc compiles:
fsubr st(1),st(0) opcode: DC E1
I'm quite sure that the fpc way is wrong. (version 1.0.6)
Vitek
according to the Programmer's Manual, the switch $W should toggle the generation of…
The switch is parsed for Delphi compatibility reasons, but stack frames are generated anyhow.
Michael.
I've just encountered a problem with FPU code in BASM: source line: fsub st(1),st(0)…
Hi,
I've sent this message before, but noone reacted, so here it is again:
I've just encountered a problem with FPU code in BASM:
source line:
fsub st(1),st(0)
delphi compiles:
fsub st(1),st(0) opcode: DC E9
fpc compiles:
fsubr st(1),st(0) opcode: DC E1
I'm quite sure that the fpc way is wrong. (version 1.0.6)
Vitek
On Tue, 28 May 2002, Vit Kavan wrote:
}I've just encountered a problem with FPU code in BASM: }
}source line:
}
}fsub st(1),st(0)
}
}delphi compiles:
}
}fsub st(1),st(0) opcode: DC E9
}
}fpc compiles:
}
}fsubr st(1),st(0) opcode: DC E1
}
}
}I'm quite sure that the fpc way is wrong. (version 1.0.6) }
Which assembler style did you use, Intel or ATT?
Ingmar
------
"Salamanders can survive up to six hours outside a fire if regularly fed pepper" (Scamander 1927).
Intel
IT> On Tue, 28 May 2002, Vit Kavan wrote:
IT> }I've just encountered a problem with FPU code in BASM: IT> }
IT> }source line:
IT> }
IT> }fsub st(1),st(0)
IT> }
IT> }delphi compiles:
IT> }
IT> }fsub st(1),st(0) opcode: DC E9
IT> }
IT> }fpc compiles:
IT> }
IT> }fsubr st(1),st(0) opcode: DC E1
IT> }
IT> }
IT> }I'm quite sure that the fpc way is wrong. (version 1.0.6) IT> }
IT> Which assembler style did you use, Intel or ATT?
IT> Ingmar
IT> ------
IT> "Salamanders can survive up to six hours outside a fire if regularly fed IT> pepper" (Scamander 1927).
IT> _______________________________________________ IT> fpc-pascal maillist -
IT> http://lists.freepascal.org/mailman/listinfo/fpc-pascal