dos_compilers/Microsoft C v203/M8086.H
2024-06-30 13:40:22 -07:00

24 lines
640 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
*
* The following definitions specify which memory addressing model is in use
* for wacky chips of the Intel 8086 variety.
*
* I8086S 64K program, 64K data
* I8086D 64K program, 1M data
* I8086P 1M program, 64K data
* I8086L 1M program, 1M data
*
*/
#define I8086S 1
/**
*
* The following definitions indicate which type of integer has the same size
* as a pointer.
*
* SPTR defined if sizeof(pointer) == sizeof(short int)
* LPTR defined if sizeof(pointer) == sizeof(long int)
*
*/
#define SPTR 1