Re: Invalid string literal in ASM

2018-10-03 Thread dokutoku via Digitalmars-d-learn
On Monday, 1 October 2018 at 10:45:25 UTC, Basile B. wrote: On Monday, 1 October 2018 at 09:24:47 UTC, Basile B. wrote: On Monday, 1 October 2018 at 08:14:07 UTC, dokutoku wrote: I get a compiler error when I try to put non-ASCII characters in a string literal in the inline assembler. Is this

Re: Invalid string literal in ASM

2018-10-01 Thread Basile B. via Digitalmars-d-learn
On Monday, 1 October 2018 at 09:24:47 UTC, Basile B. wrote: On Monday, 1 October 2018 at 08:14:07 UTC, dokutoku wrote: I get a compiler error when I try to put non-ASCII characters in a string literal in the inline assembler. Is this part of the specifications? It's not clear, see https://dl

Re: Invalid string literal in ASM

2018-10-01 Thread Basile B. via Digitalmars-d-learn
On Monday, 1 October 2018 at 08:14:07 UTC, dokutoku wrote: I get a compiler error when I try to put non-ASCII characters in a string literal in the inline assembler. Is this part of the specifications? It's not clear, see https://dlang.org/spec/iasm.html#raw_data: "if an operand is a string