code to connect marssx86 simulator