mcount needs to store registers

TODO: make mcount more like linux's