Get CPU Mode [0.9]

Returns information about the current CPU mode. Programs which only execute in protected mode do not need to call this function.

Call With

AX = 1686H

Returns

if executing in protected mode
AX = 0

if executing in real mode or Virtual 86 mode
AX = nonzero

Notes