#include <sys/segments.h> unsigned short _my_ss();
Returns the current SS. This is useful for setting up interrupt vectors and such.
SS