Fix an assembler bug where data could be overwritten when reallocating the code array.  Restructured the code that clears the realloced array to be a little less error prone.
Fix an assembler bug where data could be overwritten when reallocating the code array.  Restructured the code
that clears the realloced array to be a little less error prone.

FulcronZ/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,hoangt/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor