Octagon Systems XE–700 Reference Manual page 92

Table of Contents

Advertisement

Comments:
Programming example:
unsigned char cpuMajor;
/* Inline assembly code for Borland C++ 3.1 */
92
Carry flag set if error
AL
This function returns the CPU type.
unsigned char cpuMinor;
asm {
MOV AX, 0fb01h
MOV DX, 0ffffh
INT 17h
MOV cpuType, AH
}
if (cpuType == 0x01)
printf("CPU type is STPC Atlas");
0x80 multiplier is x1
0xC0 multiplier is x2
Error code

Advertisement

Table of Contents
loading

Table of Contents