RST is just a call to one of the predefined addresses of 0,08,10,18,20,,28,30,38 (all in hex). But because the range they are in is always page 0 they can only be used to call the OS.