Jump tables don't work in BASM code
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The following construct doesn't compile with FPC. It does with all version of Delphi:
JMP DWORD PTR @@wV[ECX*4]
[...]
@@wV: DD @@w0, @@w1, @@w2, @@w3
DD @@w4, @@w5, @@w6, @@w7
DD @@w8, @@w9, @@w10, @@w11
DD @@w12, @@w13, @@w14, @@w15
DD @@w16
test1.pp(62,31) Error: Assembler syntax error
test1.pp(62,32) Error: Invalid operand type
Additional information:
Reporter: Simon Kissel
EMail: scamp at untergrund dot net
Mantis conversion info:
- Mantis ID: 5550
- OS: Win32
- Version: 1.9.6
- Fixed in version: 1.9.7