Here are the instructions to load the given bit patterns into $s0:
For 0010 0001 0001 0000 0000 0000 0011 1101:
lui $s0,0x0002
ori $s0,$s0,0x0001
ori $s0,$s0,0x000100
ori $s0,$s0,0x0011
For 1111 1111 1111 1111 1111 1111 1111 1111:
lui $s0,0xffff
ori $s0,$s0,0xffff