Jonas Maebe
|
aa82e00615
* fixed check to determine whether a record parameter can be subscripted
|
há 8 anos atrás |
nickysn
|
5f66f5cebb
+ distinguish between x86 flags subregisters: flags, eflags and rflags
|
há 8 anos atrás |
sergei
|
8ae0864c9a
* x86 Intel asm reader: handle special variables "self" and "result" similar to regular ones in terms of subscripting. This makes fix from r34911 apply to these special variables. Resolves #31542.
|
há 8 anos atrás |
florian
|
ad557a1da6
* allow call dword ptr eax in delphi, resolves #18225
|
há 8 anos atrás |
florian
|
b9dba41ad0
* intel assembler reader: scale factor in references can also be a constant symbol, resolves #31165
|
há 8 anos atrás |
Jonas Maebe
|
015f034904
* reverted r35424, wasn't ready for commit yet
|
há 8 anos atrás |
Jonas Maebe
|
4d9617da97
* fixed check to determine whether a record parameter can be subscripted
|
há 8 anos atrás |
sergei
|
d5ffc2da97
* Force OPR_LOCAL operand into reference whenever subscripting is used, so that all record fields are handled in same way regardless of their offset. Previously, operand was changed to reference only by fields with non-zero offset (see logic in tcgasmnode.ResolveRef method).
|
há 9 anos atrás |
Jonas Maebe
|
aa1be3276f
- removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol():
|
há 9 anos atrás |
sergei
|
f69f6336e9
* Replaced hacks with resetting 'c' to zero and decreasing inputpointer by boolean parameter to skipcomment and skipoldtpcomment. This parameter specifies whether first character of comment should be read.
|
há 9 anos atrás |
sergei
|
bbfbab7e0c
* Moved handling of comments and line breaks in assembler blocks from scanner to tokenizer level. Handling them at character level was causing compiler to accept comments in the middle of any assembler token, which should never happen. It was also causing Mantis #27459: a newline immediately after closing 'end' token was first handled in asmgetchar and then by normal parser, causing all subsequent line numbering to be off by one.
|
há 9 anos atrás |
Jonas Maebe
|
fd0c2f36e5
* don't parse "flags" as a register name in the Intel assembler reader
|
há 10 anos atrás |
nickysn
|
a553b15a1c
+ handle properly inline asm segment constants different than word:
|
há 10 anos atrás |
nickysn
|
606b64a7f1
* fixed indentation
|
há 10 anos atrás |
nickysn
|
3b80ca4376
+ implemented the 'SEG @CODE' inline assembler directive for i8086
|
há 10 anos atrás |
nickysn
|
995ca4fb12
+ implemented the 'SEG @DATA' inline assembler directive for i8086
|
há 10 anos atrás |
nickysn
|
43dabca8ab
* moved the handling of the @Code and @Data inline assembler symbols to new methods Tx86operand.SetupCode and .SetupData
|
há 10 anos atrás |
nickysn
|
ca24b006ef
+ support 'dw SEG symbol' in the inline assembler on i8086
|
há 10 anos atrás |
nickysn
|
2e30b92c79
* removed the 'near ignored' and 'far ignored' inline asm warning messages on
|
há 10 anos atrás |
nickysn
|
9e110e8e7e
* treat interrupt procedures as 'near' in the i8086 inline assembler for TP7
|
há 10 anos atrás |
nickysn
|
dd9e5ea6f6
* convert 'call/jmp [proc]' properly to a near or far call/jmp, depending on
|
há 10 anos atrás |
nickysn
|
ed09b4fcaa
* in i8086 inline asm, convert 'call/jmp [proc/label]' to 'call/jmp proc/label'.
|
há 10 anos atrás |
nickysn
|
77159d2806
+ also add a cs: prefix to references such as [2+label]
|
há 10 anos atrás |
nickysn
|
823deb39ac
+ also add an implicit cs: prefix on i8086 in tx86intreader.BuildOperand.AddLabelOperand
|
há 10 anos atrás |
nickysn
|
92a39c93f5
+ add a CS: override for references without an explicitly set segment override, which are relative to a function entry point
|
há 10 anos atrás |
nickysn
|
ef5e368327
+ support local label data access in the i8086 inline asm (fixes test tlbldat1.pp)
|
há 10 anos atrás |
nickysn
|
dc6119bab7
* also convert 'jmp farprocsymbol' to 'jmp far farprocsymbol' in the i8086
|
há 10 anos atrás |
nickysn
|
cb36b2d3bd
* i8086 inline asm: convert 'call symbol' to 'call far symbol' only for symbols
|
há 10 anos atrás |
nickysn
|
c068c96302
* on i8086 convert the 'ret' inline asm instruction to either 'retn' or 'retf',
|
há 10 anos atrás |
nickysn
|
b3c2765da9
* on i8086, for BP7 compatibility, assemble 'call/jmp dword [ref]' as a far call
|
há 10 anos atrás |