 		 * @param address The address in memory.
 		 * @return Signed integer at given address in memory.
 		 */
-		public static function readInt( address: int ): int
-		{
+		public static function readInt(address: int): int {
+			var domainMemory: ByteArray = applicationDomain.domainMemory;
+
 			domainMemory.position = address;
 			return domainMemory.readInt();
 		}

		 * @param address The address in memory.
		 * @param value The value to write.
		 */
		public static function writeInt(value: int, address: int): void
		{
			domainMemory.position = address;
			domainMemory.writeInt( value );
		}
		
		/**

		 * @param value The value to extend.
		 * @return The extended value.
		 */
		public static function signExtend1(value: int): int {
			if(0 != (value & 0x1)) {
				value &= 0x0;
				value -= 0x1;
			}
