The V20's ISA includes several instructions not executed by the 8088, with instructions for bit manipulation, packed BCD operations, multiplication, and division. They also include new real-mode instructions from the Intel 80286. The ADD4S, SUB4S, and CMP4S instructions were able to add, subtract, and compare huge packed
binary-coded decimal numbers stored in memory. Instructions ROL4 and ROR4 rotate four-bit
nibbles. Another family consisted of the TEST1, SET1, CLR1, and NOT1 instructions, which test, set, clear, and invert single bits of their operands, but are far less efficient than the later
i80386 equivalents
BT,
BTS,
BTR, and
BTC; neither are their encodings compatible. There were two instructions to extract and insert bit fields of arbitrary lengths (EXT, INS). And finally, there were two additional repeat prefixes, REPC and REPNC, which amended the original
REPE and
REPNE instructions for scanning a string of bytes or words (with instructions
SCAS and
CMPS) while a less or not less condition remained true. The V20 offered a mode that emulated an
Intel 8080 CPU. A BRKEM instruction is issued to start 8080 emulation. The operand of the instruction specifies an interrupt number whose vector contains the segment:offset where emulation is to begin. To end, a RETEM instruction is issued in 8080 code. One feature not often employed is the CALLN (call native) which issues an 8086-type interrupt call that enables x86 code (which returns using an IRET) to be mixed in with 8080 code. Another mode put the processor into a power-saving state via a HALT instruction. == Lawsuits ==