set up some of the asm for slave polling. incomplete and untested.