 			var debugStr:String = "";
 			var instruction:uint;
 			var addressingMode:uint;
-			var param1:int = -1;
-			var param2:int = -1;
-			var paramWord:int = -1;
-			
-			debugStr = PC.toString(16) + "  ";
+			var param1:int = int.MAX_VALUE;
+			var param2:int = int.MAX_VALUE;
+			var paramWord:int = int.MAX_VALUE;
+			
+			debugStr = hexToStr(PC,4) + "  ";
 			
 			instruction = readUnsignedByte(PC++);
 			addressingMode = INST_ADDR_MODE[instruction];

					break;
				default:
					_emulator.log("Invalid addressing mode " + ADDR_NAME[addressingMode] + " for Instruction: NOP");
					break;
			}
		}

			return str;
		}
		
		private function hexToStr(value:uint, width:int = 2):String 
		{
			var ret:String;
			if (width == 2)
			{
				ret = (value & 0x0FF).toString(16);
			}
			else if (width == 4)
			{
				ret = (value & 0xFFFF).toString(16);				
			}
			else
			{
				ret = value.toString(16);				
			}
			while( ret.length < width )
				ret="0" + ret;
			return ret.toUpperCase();
		}
		
	}
