// license:BSD-3-Clause // copyright-holders:David Haywood #include "emu.h" #include "arcompact_helper.ipp" // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // IIII I SS SSSS // LP u7 0010 0RRR 1110 1000 0RRR uuuu uu1Q QQQQ // LP s13 0010 0RRR 1010 1000 0RRR ssss ssSS SSSS // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ uint32_t arcompact_device::handleop32_LP(uint32_t op) // LPcc (loop setup) { int size = 4; int p = common32_get_p(op); if (p == 0x00) { fatalerror("