Bit manipulation instructions: Difference between revisions

Content deleted Content added
DEC PDP-10: add string manip ref pdp10
Tags: Mobile edit Mobile web edit Advanced mobile edit
DEC PDP-10: Rewrite to try to have it explain what "LUT2" refers to. Put the BCD conversion instructions into a separate paragraph, and fix a typo.
Line 65:
 
=== DEC PDP-10 ===
The DEC [[PDP-6]] and [[PDP-10]] had LUT2-style Logicallogical operations covering the full suite of 2-operand logic[[lookup table#Hardware LUTs|hardware lookup table]] (LUT2) [[Boolean function]]s{{sfn|pdp10|p=2.38|at=2.4 Boolean Functions|}} [[Boolean(rather function]]than insteadthe of3-operand ternary,functions likethat AVX512 and Power ISA. have).

Later models of the PDP-10 had instructions to covertconvert between [[Binary-coded decimal#Packed BCD|packed BCD]] and binary.{{sfn|pdp10|pages=2.99|}}
 
Also present is unusual (variable-bit-length) load and store instructions. Both the bit length (S) and the offset (P) could be specified.{{sfn|pdp10|pages=2.85-2.89|loc=Byte manipulation|}} The Byte Manipulation instructions[2] can specify a byte size of 0-36, but may not straddle word boundaries. The String Manipulations have a similar restriction.{{sfn|pdp10|pages=2.91|loc=2.12 String manipulation|}}