fpc/compiler/x86/cx86innr.inc
nickysn fdc896ad0a + inline support for the x86 'in' and 'out' instructions. Currently only enabled
in the i8086-msdos 'ports' unit, but will be enabled on other targets (e.g.
  go32v2) in the future as well. 32-bit 'in' and 'out' not inlined on i8086, but
  will be on i386 and x86_64.

git-svn-id: trunk@39362 -
2018-07-03 17:01:42 +00:00

21 lines
723 B
PHP

{
This file is part of the Free Pascal run time library.
Copyright (c) 2018 by the Free Pascal development team.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
in_x86_inportb = fpc_in_cpu_first,
in_x86_inportw = fpc_in_cpu_first+1,
in_x86_inportl = fpc_in_cpu_first+2,
in_x86_outportb = fpc_in_cpu_first+3,
in_x86_outportw = fpc_in_cpu_first+4,
in_x86_outportl = fpc_in_cpu_first+5