Simple ARM emulator