JEDI Help:HardwareArchitecture - Project JEDI Wiki

JEDI Help:HardwareArchitecture

From Project JEDI Wiki

Jump to: navigation, search
JEDI Help

Search in JEDI Help

 
Search in all projects
 

Contents


[edit] Summary

Compiler symbols for detecting hardware architecture.


[edit] Pascal

 {$IFDEF SYMBOL}
 // This code will be compiled only if this platform is targeted
 {$ENDIF SYMBOL}


[edit] Description

Once jedi.inc is included at the top of your pascal source file, the following compiler symbols are defined depending on the target hardware.
These symbols can be used for code conditional compilation based on hardware architecture.

Symbol Description
CPU386 Defined when target platform is native x86 (win32)
CPUx86_64 Defined when target platform is native x86_64 (win64)
CPU32 Defined when target is 32-bit
CPU64 Defined when target is 64-bit
CPUASM Defined when target assembler is available


[edit] About

[edit] Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page

Personal tools
Navigation
Project JEDI
Code Library
Visual Component Library
Version Control System
Math Library
Code Formatter