3 ms·
The CPUs were microprogrammable. It's no surprise that they had a strcpy() opcode. VAXes too had crazy complicated instructions, including list traversal inst
by cryptonector 8y ago
The CPUs were microprogrammable. It's no surprise that they had a strcpy() opcode. VAXes too had crazy complicated instructions, including list traversal instructions and arbitrary precision BCD instructions (IIRC anyways).
- msla 8y agoThe VAX had a POLY opcode, which evaluated polynomials of arbitrary degree: http://uranium.vaxpower.org/~isildur/vax/week.html http://uranium.vaxpower.org/~isildur/vax/week.html https://news.ycombinator.com/item?id=9841892 https://news.ycombinator.com/item?id=9841892 > The table address operand points to a table of polynomial coefficients. The coefficient of the highest-order term of the polynomial is pointed to by the table address operand. The table is specified with lower-order coefficients stored at increasing addresses. The data type of the coefficients is the same as the data type of the argument operand. The evaluation is carried out by Horner's method, and the contents of R0 (R1'R0 for POLYD and POLYG, R3'R2'R1'R0 for POLYH) are replaced by the result.