Number int64 1 7.61k | Text stringlengths 2 3.11k |
|---|---|
2,101 | One of the first programs to run on the Mark I was initiated on 29 March 1944 by John von Neumann. At that time, von Neumann was working on the Manhattan Project, and needed to determine whether implosion was a viable choice to detonate the atomic bomb that would be used a year later. The Mark I also computed and print... |
2,102 | According to Edmund Berkeley, the operators of the Mark I often called the machine “Bessy, the Bessel engine,” after Bessel functions. |
2,103 | The Mark I was disassembled in 1959; part of it was given to IBM, part went to the Smithsonian Institution, and part entered the Harvard Collection of Historical Scientific Instruments. For decades, Harvard's portion was on display in the lobby of the Aiken Computation Lab. About 1997, it was moved to the Harvard Scien... |
2,104 | The original concept was presented to IBM by Howard Aiken in November 1937. After a feasibility study by IBM engineers, the company chairman Thomas Watson Sr. personally approved the project and its funding in February 1939. |
2,105 | Howard Aiken had started to look for a company to design and build his calculator in early 1937. After two rejections, he was shown a demonstration set that Charles Babbage’s son had given to Harvard University 70 years earlier. This led him to study Babbage and to add references to the Analytical Engine to his propo... |
2,106 | The ASCC was developed and built by IBM at their Endicott plant and shipped to Harvard in February 1944. It began computations for the US Navy Bureau of Ships in May and was officially presented to the university on August 7, 1944. |
2,107 | Although not the first working computer, the machine was the first to automate the execution of complex calculations, making it a significant step forward for computing. |
2,108 | The ASCC was built from switches, relays, rotating shafts, and clutches. It used 765,000 electromechanical components and hundreds of miles of wire, comprising a volume of 816 cubic feet – 51 feet in length, 8 feet in height, and 2 feet deep. It weighed about 9,445 pounds . The basic calculating units had to be syn... |
2,109 | The enclosure for the Mark I was designed by futuristic American industrial designer Norman Bel Geddes at IBM's expense. Aiken was annoyed that the cost was not used to build additional computer equipment. |
2,110 | The Mark I had 60 sets of 24 switches for manual data entry and could store 72 numbers, each 23 decimal digits long. It could do 3 additions or subtractions in a second. A multiplication took 6 seconds, a division took 15.3 seconds, and a logarithm or a trigonometric function took over one minute. |
2,111 | The Mark I read its instructions from a 24-channel punched paper tape. It executed the current instruction and then read the next one. A separate tape could contain numbers for input, but the tape formats were not interchangeable. Instructions could not be executed from the storage registers. Because instructions were ... |
2,112 | The main sequence mechanism was unidirectional. This meant that complex programs had to be physically lengthy. A program loop was accomplished by loop unrolling or by joining the end of the paper tape containing the program back to the beginning of the tape . At first, conditional branching in Mark I was performed manu... |
2,113 | The 24 channels of the input tape were divided into three fields of eight channels. Each storage location, each set of switches, and the registers associated with the input, output, and arithmetic units were assigned a unique identifying index number. These numbers were represented in binary on the control tape. The fi... |
2,114 | In 1928 L.J. Comrie was the first to turn IBM "punched-card equipment to scientific use: computation of astronomical tables by the method of finite differences, as envisioned by Babbage 100 years earlier for his Difference Engine". Very soon after, IBM started to modify its tabulators to facilitate this kind of comput... |
2,115 | John von Neumann had a team at Los Alamos that used "modified IBM punched-card machines" to determine the effects of the implosion. In March 1944, he proposed to run certain problems regarding implosion of the Mark I, and in 1944 he arrived with two mathematicians to write a simulation program to study the implosion of... |
2,116 | "Von Neumann joined the Manhattan Project in 1943, working on the immense number of calculations needed to build the atomic bomb. He showed that the implosion design, which would later be used in the Trinity and Fat Man bombs, was likely faster and more efficient than the gun design." |
2,117 | Aiken published a press release announcing the Mark I listing himself as the sole “inventor”. James W. Bryce was the only IBM person mentioned, even though several IBM engineers including Clair Lake and Frank Hamilton had helped to build various elements. IBM chairman Thomas J. Watson was enraged, and only reluctantly ... |
2,118 | The Mark I was followed by the Harvard Mark II , Mark III/ADEC , and Harvard Mark IV – all the work of Aiken. The Mark II was an improvement over the Mark I, although it still was based on electromechanical relays. The Mark III used mostly electronic components—vacuum tubes and crystal diodes—but also included mechani... |
2,119 | The Mark I was disassembled in 1959, and portions of it went on display in the Science Center, as part of the Harvard Collection of Historical Scientific Instruments. It was relocated to the new Science and Engineering Complex in Allston in July 2021. Other sections of the original machine had much earlier been trans... |
2,120 | In computing, an opcode is the portion of a machine language instruction that specifies the operation to be performed. Beside the opcode itself, most instructions also specify the data they will process, in the form of operands. In addition to opcodes used in the instruction set architectures of various CPUs, which ar... |
2,121 | Specifications and format of the opcodes are laid out in the instruction set architecture of the processor in question, which may be a general CPU or a more specialized processing unit. Opcodes for a given instruction set can be described through the use of an opcode table detailing all possible opcodes. Apart from th... |
2,122 | Depending on architecture, the operands may be register values, values in the stack, other memory values, I/O ports , etc., specified and accessed using more or less complex addressing modes. The types of operations include arithmetic, data copying, logical operations, and program control, as well as special instructio... |
2,123 | Assembly language, or just assembly, is a low-level programming language, which uses mnemonic instructions and operands to represent machine code. This enhances the readability while still giving precise control over the machine instructions. Most programming is currently done using high-level programming languages, wh... |
2,124 | Opcodes can also be found in so-called byte codes and other representations intended for a software interpreter rather than a hardware device. These software-based instruction sets often employ slightly higher-level data types and operations than most hardware counterparts, but are nevertheless constructed along simila... |
2,125 | In computer programming, machine code is computer code consisting of machine language instructions, which are used to control a computer's central processing unit . Although decimal computers were once common, the contemporary marketplace is dominated by binary computers; for those computers, machine code is "the binar... |
2,126 | Each instruction causes the CPU to perform a very specific task, such as a load, a store, a jump, or an arithmetic logic unit operation on one or more units of data in the CPU's registers or memory. |
2,127 | Early CPUs had specific machine code that might break backward compatibility with each new CPU released. The notion of an instruction set architecture defines and specifies the behavior and encoding in memory of the instruction set of the system, without specifying its exact implementation. This acts as an abstraction... |
2,128 | In general, each architecture family has its own ISA, and hence its own specific machine code language. There are exceptions, such as the VAX architecture, which included optional support of the PDP-11 instruction set and IA-64, which included optional support of the IA-32 instruction set. Another example is the Power... |
2,129 | Machine code is a strictly numerical language, and is the lowest-level interface to the CPU intended for a programmer. Assembly language provides a direct mapping between the numerical machine code and a human-readable version where numerical opcodes and operands are replaced by readable strings . While it is possible ... |
2,130 | The majority of practical programs today are written in higher-level languages. Those programs are either translated into machine code by a compiler, or are interpreted by an interpreter, usually after being translated into an intermediate code, such as a bytecode, that is then interpreted. |
2,131 | Machine code is by definition the lowest level of programming detail visible to the programmer, but internally many processors use microcode or optimize and transform machine code instructions into sequences of micro-ops. Microcode and micro-ops are not generally considered to be machine code; except on some machines, ... |
2,132 | Every processor or processor family has its own instruction set. Instructions are patterns of bits, digits, or characters that correspond to machine commands. Thus, the instruction set is specific to a class of processors using the same architecture. Successor or derivative processor designs often include instructions... |
2,133 | A processor's instruction set may have fixed-length or variable-length instructions. How the patterns are organized varies with the particular architecture and type of instruction. Most instructions have one or more opcode fields that specify the basic instruction type , the operation , and other fields that may give t... |
2,134 | Not all machines or individual instructions have explicit operands. On a machine with a single accumulator, the accumulator is implicitly both the left operand and result of most arithmetic instructions. Some other architectures, such as the x86 architecture, have accumulator versions of common instructions, with the a... |
2,135 | A computer program is a list of instructions that can be executed by a central processing unit . A program's execution is done in order for the CPU that is executing it to solve a problem and thus accomplish a result. While simple processors are able to execute instructions one after another, superscalar processors are... |
2,136 | Program flow may be influenced by special 'jump' instructions that transfer execution to an address other than the next numerically sequential address. Whether these conditional jumps occur is dependent upon a condition such as a value being greater than, less than, or equal to another value. |
2,137 | A much more human friendly rendition of machine language, called assembly language, uses mnemonic codes to refer to machine code instructions, rather than using the instructions' numeric values directly, and uses symbolic names to refer to storage locations and sometimes registers. For example, on the Zilog Z80 process... |
2,138 | The MIPS architecture provides a specific example for a machine code whose instructions are always 32 bits long.: 299 The general type of instruction is given by the op field, the highest 6 bits. J-type and I-type instructions are fully specified by op. R-type instructions include an additional field funct to dete... |
2,139 | rs, rt, and rd indicate register operands; shamt gives a shift amount; and the address or immediate fields contain an operand directly.: 299–301 |
2,140 | For example, adding the registers 1 and 2 and placing the result in register 6 is encoded:: 554 |
2,141 | Load a value into register 8, taken from the memory cell 68 cells after the location listed in register 3:: 552 |
2,142 | Jumping to the address 1024:: 552 |
2,143 | On processor architectures with variable-length instruction sets it is, within the limits of the control-flow resynchronizing phenomenon known as the Kruskal count, sometimes possible through opcode-level programming to deliberately arrange the resulting code so that two code paths share a common fragment of opcode se... |
2,144 | In the 1970s and 1980s, overlapping instructions were sometimes used to preserve memory space. One example were in the implementation of error tables in Microsoft's Altair BASIC, where interleaved instructions mutually shared their instruction bytes. The technique is rarely used today, but might still be necessary to r... |
2,145 | It is also sometimes used as a code obfuscation technique as a measure against disassembly and tampering. |
2,146 | The principle is also utilized in shared code sequences of fat binaries which must run on multiple instruction-set-incompatible processor platforms. |
2,147 | This property is also used to find unintended instructions called gadgets in existing code repositories and is utilized in return-oriented programming as alternative to code injection for exploits such as return-to-libc attacks. |
2,148 | In some computers, the machine code of the architecture is implemented by an even more fundamental underlying layer called microcode, providing a common machine language interface across a line or family of different models of computer with widely different underlying dataflows. This is done to facilitate porting of m... |
2,149 | Using microcode to implement an emulator enables the computer to present the architecture of an entirely different computer. The System/360 line used this to allow porting programs from earlier IBM machines to the new family of computers, e.g. an IBM 1401/1440/1460 emulator on the IBM S/360 model 40. |
2,150 | Machine code is generally different from bytecode , which is either executed by an interpreter or itself compiled into machine code for faster execution. An exception is when a processor is designed to use a particular bytecode directly as its machine code, such as is the case with Java processors. |
2,151 | Machine code and assembly code are sometimes called native code when referring to platform-dependent parts of language features or libraries. |
2,152 | From the point of view of the CPU, machine code is stored in RAM, but is typically also kept in a set of caches for performance reasons. There may be different caches for instructions and data, depending on the architecture. |
2,153 | The CPU knows what machine code to execute, based on its internal program counter. The program counter points to a memory address and is changed based on special instructions which may cause programmatic branches. The program counter is typically set to a hard coded value when the CPU is first powered on, and will henc... |
2,154 | Similarly, the program counter can be set to execute whatever machine code is at some arbitrary address, even if this is not valid machine code. This will typically trigger an architecture specific protection fault. |
2,155 | The CPU is oftentimes told, by page permissions in a paging based system, if the current page actually holds machine code by an execute bit — pages have multiple such permission bits for various housekeeping functionality. E.g. on Unix-like systems memory pages can be toggled to be executable with the mprotect system ... |
2,156 | Similarly, in a segment based system, segment descriptors can indicate whether a segment can contain executable code and in what rings that code can run. |
2,157 | From the point of view of a process, the code space is the part of its address space where the code in execution is stored. In multitasking systems this comprises the program's code segment and usually shared libraries. In multi-threading environment, different threads of one process share code space along with data sp... |
2,158 | Pamela Samuelson wrote that machine code is so unreadable that the United States Copyright Office cannot identify whether a particular encoded program is an original work of authorship; however, the US Copyright Office does allow for copyright registration of computer programs and a program's machine code can sometimes... |
2,159 | Cognitive science professor Douglas Hofstadter has compared machine code to genetic code, saying that "Looking at a program written in machine language is vaguely comparable to looking at a DNA molecule atom by atom." |
2,160 | MIPS is a family of reduced instruction set computer instruction set architectures : A-1 : 19 developed by MIPS Computer Systems, now MIPS Technologies, based in the United States. |
2,161 | There are multiple versions of MIPS: including MIPS I, II, III, IV, and V; as well as five releases of MIPS32/64 . The early MIPS architectures were 32-bit; 64-bit versions were developed later. As of April 2017, the current version of MIPS is MIPS32/64 Release 6. MIPS32/64 primarily differs from MIPS I–V by defining t... |
2,162 | The MIPS architecture has several optional extensions. MIPS-3D which is a simple set of floating-point SIMD instructions dedicated to common 3D tasks, MDMX which is a more extensive integer SIMD instruction set using the 64-bit floating-point registers, MIPS16e which adds compression to the instruction stream to make ... |
2,163 | Computer architecture courses in universities and technical schools often study the MIPS architecture. The architecture greatly influenced later RISC architectures such as Alpha. In March 2021, MIPS announced that the development of the MIPS architecture had ended as the company is making the transition to RISC-V. |
2,164 | The first version of the MIPS architecture was designed by MIPS Computer Systems for its R2000 microprocessor, the first MIPS implementation. Both MIPS and the R2000 were introduced together in 1985. When MIPS II was introduced, MIPS was renamed MIPS I to distinguish it from the new version.: 32 |
2,165 | MIPS Computer Systems' R6000 microprocessor was the first MIPS II implementation.: 8 Designed for servers, the R6000 was fabricated and sold by Bipolar Integrated Technology, but was a commercial failure. During the mid-1990s, many new 32-bit MIPS processors for embedded systems were MIPS II implementations because t... |
2,166 | MIPS Computer Systems' R4000 microprocessor was the first MIPS III implementation. It was designed for use in personal, workstation, and server computers. MIPS Computer Systems aggressively promoted the MIPS architecture and R4000, establishing the Advanced Computing Environment consortium to advance its Advanced RIS... |
2,167 | The first MIPS IV implementation was the MIPS Technologies R8000 microprocessor chipset . The design of the R8000 began at Silicon Graphics, Inc. and it was only used in high-end workstations and servers for scientific and technical applications where high performance on large floating-point workloads was important. La... |
2,168 | Announced on October 21, 1996, at the Microprocessor Forum 1996 alongside the MIPS Digital Media Extensions extension, MIPS V was designed to improve the performance of 3D graphics transformations. In the mid-1990s, a major use of non-embedded MIPS microprocessors were graphics workstations from Silicon Graphics. MIPS... |
2,169 | When MIPS Technologies was spun-out of Silicon Graphics in 1998, it refocused on the embedded market. Through MIPS V, each successive version was a strict superset of the previous version, but this property was found to be a problem, and the architecture definition was changed to define a 32-bit and a 64-bit architectu... |
2,170 | In December 2018, Wave Computing, the new owner of the MIPS architecture, announced that MIPS ISA would be open-sourced in a program dubbed the MIPS Open initiative. The program was intended to open up access to the most recent versions of both the 32-bit and 64-bit designs making them available without any licensing o... |
2,171 | In March 2019, one version of the architecture was made available under a royalty-free license, but later that year the program was shut down again. |
2,172 | In March 2021, Wave Computing announced that the development of the MIPS architecture has ceased. The company has joined the RISC-V foundation and future processor designs will be based on the RISC-V architecture. In spite of this, some licensees such as Loongson continue with new extension of MIPS-compatible ISAs on t... |
2,173 | In January 2024, Loongson won a case over rights to use MIPS architecture. |
2,174 | MIPS is a modular architecture supporting up to four coprocessors . In MIPS terminology, CP0 is the System Control Coprocessor , CP1 is an optional floating-point unit and CP2/3 are optional implementation-defined coprocessors . For example, in the PlayStation video game console, CP2 is the Geometry Transformation Eng... |
2,175 | MIPS is a load/store architecture ; except for the load/store instructions used to access memory, all instructions operate on the registers. |
2,176 | MIPS I has thirty-two 32-bit general-purpose registers . Register $0 is hardwired to zero and writes to it are discarded. Register $31 is the link register. For integer multiplication and division instructions, which run asynchronously from other instructions, a pair of 32-bit registers, HI and LO, are provided. There ... |
2,177 | The program counter has 32 bits. The two low-order bits always contain zero since MIPS I instructions are 32 bits long and are aligned to their natural word boundaries. |
2,178 | Instructions are divided into three types: R , I , and J . Every instruction starts with a 6-bit opcode. In addition to the opcode, R-type instructions specify three registers, a shift amount field, and a function field; I-type instructions specify two registers and a 16-bit immediate value; J-type instructions follow ... |
2,179 | The following are the three formats used for the core instruction set: |
2,180 | MIPS I has instructions that load and store 8-bit bytes, 16-bit halfwords, and 32-bit words. Only one addressing mode is supported: base + displacement. Since MIPS I is a 32-bit architecture, loading quantities fewer than 32 bits requires the datum to be either sign-extended or zero-extended to 32 bits. The load instru... |
2,181 | MIPS I has instructions to perform addition and subtraction. These instructions source their operands from two GPRs , and write the result to a third GPR . Alternatively, addition can source one of the operands from a 16-bit immediate . The instructions for addition and subtraction have two variants: by default, an exc... |
2,182 | The Load Immediate Upper instruction copies the 16-bit immediate into the high-order 16 bits of a GPR. It is used in conjunction with the Or Immediate instruction to load a 32-bit immediate into a register. |
2,183 | MIPS I has instructions to perform left and right logical shifts and right arithmetic shifts. The operand is obtained from a GPR , and the result is written to another GPR . The shift distance is obtained from either a GPR or a 5-bit "shift amount" . |
2,184 | MIPS I has instructions for signed and unsigned integer multiplication and division. These instructions source their operands from two GPRs and write their results to a pair of 32-bit registers called HI and LO, since they may execute separately from the other CPU instructions. For multiplication, the high- and low-or... |
2,185 | All MIPS I control flow instructions are followed by a branch delay slot. Unless the branch delay slot is filled by an instruction performing useful work, an nop is substituted. MIPS I branch instructions compare the contents of a GPR against zero or another GPR as signed integers and branch if the specified conditio... |
2,186 | MIPS I has two instructions for software to signal an exception: System Call and Breakpoint. System Call is used by user mode software to make kernel calls; and Breakpoint is used to transfer control to a debugger via the kernel's exception handler. Both instructions have a 20-bit Code field that can contain operating ... |
2,187 | MIPS has 32 floating-point registers. Two registers are paired for double precision numbers. Odd numbered registers cannot be used for arithmetic or branching, just as part of a double precision register pair, resulting in 16 usable registers for most instructions . |
2,188 | Single precision is denoted by the .s suffix, while double precision is denoted by the .d suffix. |
2,189 | MIPS II removed the load delay slot: 41 and added several sets of instructions. For shared-memory multiprocessing, the Synchronize Shared Memory, Load Linked Word, and Store Conditional Word instructions were added. A set of Trap-on-Condition instructions were added. These instructions caused an exception if the evalu... |
2,190 | The instruction set for the floating point coprocessor also had several instructions added to it. An IEEE 754-compliant floating-point square root instruction was added. It supported both single- and double-precision operands. A set of instructions that converted single- and double-precision floating-point numbers to 3... |
2,191 | MIPS III is a backwards-compatible extension of MIPS II that added support for 64-bit memory addressing and integer operations. The 64-bit data type is called a doubleword, and MIPS III extended the general-purpose registers, HI/LO registers, and program counter to 64 bits to support it. New instructions were added to ... |
2,192 | The R instruction format's inability to specify the full shift distance for 64-bit shifts required MIPS III to provide three 64-bit versions of each MIPS I shift instruction. The first version is a 64-bit version of the original shift instructions, used to specify constant shift distances of 0–31 bits. The second vers... |
2,193 | MIPS III added a supervisor privilege level in between the existing kernel and user privilege levels. This feature only affected the implementation-defined System Control Processor . |
2,194 | MIPS III removed the Coprocessor 3 support instructions, and reused its opcodes for the new doubleword instructions. The remaining coprocessors gained instructions to move doublewords between coprocessor registers and the GPRs. The floating general registers were extended to 64 bits and the requirement for instructio... |
2,195 | MIPS IV is the fourth version of the architecture. It is a superset of MIPS III and is compatible with all existing versions of MIPS.: A-1 MIPS IV was designed to mainly improve floating-point performance. To improve access to operands, an indexed addressing mode for FP loads and stores was added, as were prefetch i... |
2,196 | MIPS IV added several features to improve instruction-level parallelism. To alleviate the bottleneck caused by a single condition bit, seven condition code bits were added to the floating-point control and status register, bringing the total to eight. FP comparison and branch instructions were redefined so they could s... |
2,197 | MIPS IV added several new FP arithmetic instructions for both single- and double-precision FPNs: fused-multiply add or subtract, reciprocal, and reciprocal square-root. The FP fused-multiply add or subtract instructions perform either one or two roundings , to exceed or meet IEEE 754 accuracy requirements . The FP reci... |
2,198 | MIPS V added a new data type, the Paired Single , which consisted of two single-precision floating-point numbers stored in the existing 64-bit floating-point registers. Variants of existing floating-point instructions for arithmetic, compare and conditional move were added to operate on this data type in a SIMD fashio... |
2,199 | The first release of MIPS32, based on MIPS II, added conditional moves, prefetch instructions, and other features from the R4000 and R5000 families of 64-bit processors. The first release of MIPS64 adds a MIPS32 mode to run 32-bit code. The MUL and MADD instructions, previously available in some implementations, were... |
2,200 | MIPS32/MIPS64 Release 6 in 2014 added the following: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.