 			}
 		}
 		
-		private function readUnsignedByte(addr:uint):int
+		private function readUnsignedByte(addr:uint):uint
 		{
 			// Determine where we are trying to read
 			if (addr < 0x1800)  // Internal Ram

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

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