Commit Graph

5 Commits

Author SHA1 Message Date
nickysn
6fafac65fb + extended test tasm18.pp with instructions with a reference to a longint-sized
recordtype or recordtype.variable, but explicit 'byte ptr' or 'word ptr' type
  override

git-svn-id: trunk@38228 -
2018-02-12 15:34:08 +00:00
nickysn
b2b7d685a6 + extended test tasm18.pp with 32-bit instructions; this doesn't hurt TP7
compatibility, because TP7 produces an error (invalid combination of opcode
  and operands) in case of e.g.
  'test [di+rectype.longintfield], 1'; FPC instead generates:
  'test dword ptr [di+rectype.longintfield], 1' which is 386+, so whether it
  compiles depends on the asmcpu type.

git-svn-id: trunk@38226 -
2018-02-12 14:57:23 +00:00
nickysn
f5e6b40486 + extended test tasm18.pp with recordtype*constant and
recordtype.recordfield*constant expressions in asm references

git-svn-id: trunk@38201 -
2018-02-11 03:43:31 +00:00
nickysn
d5845a2d2a * updated test tasm18.pp, so it is now runnable and checks the generated code
git-svn-id: trunk@38188 -
2018-02-10 12:34:03 +00:00
nickysn
cbf01fc284 + added test tasm18.pp, which tests instructions with an operand size set
implicitly by a recordtype.recordfield or recordtype constant; test is
  i8086-only and NORUN for now, but will be updated later, to actually test the
  generated code as well (and more tests will be added for i386 and x86_64 as
  well)

git-svn-id: trunk@38177 -
2018-02-09 17:54:47 +00:00