Intel 4040
The Intel 4040 ("forty-forty") is the second 4-bit microprocessor designed and manufactured by Intel.[src] Introduced in 1974 as a successor to the Intel 4004, the 4040 was produced with a 10 μm process and includes silicon gate enhancement-load PMOS logic technology.[src] The 4040 contained 3,000 transistors and could execute approximately 62,000 instructions per second.[src] General performance, bus layout and arithmetic logic unit (ALU) were identical to the 4004.[src] The main improvement was to use a larger 24-pin dual in-line package, giving it 8 more pins than the 16-pin 4004.[src] Two of these were used to implement interrupts, which were lacking in the 4004 and considered a major oversight.[src] Two more implemented a halt/stop system, which put the processor into a low-power mode and also allowed for single-step operation that made debugging much easier.[src] Another pin was used to bank select a second read-only memory (ROM), doubling the amount of ROM the processor could address compared to the 4004.[src] To make use of these new pins, the instruction set was expanded, increasing it to 60 instructions from the original 46.[src] Additionally, the internal register file and pushdown stack were expanded to support rapid interrupt processing.[src]
The Intel 4040 ("forty-forty") is the second 4-bit microprocessor designed and manufactured by Intel.[src] Introduced in 1974 as a successor to the Intel 4004, the 4040 was produced with a 10 μm process and includes silicon gate enhancement-load PMOS logic technology.[src] The 4040 contained 3,000 transistors and could execute approximately 62,000 instructions per second.[src] General performance, bus layout and arithmetic logic unit (ALU) were identical to the 4004.[src] The main improvement was to use a larger 24-pin dual in-line package, giving it 8 more pins than the 16-pin 4004.[src] Two of these were used to implement interrupts, which were lacking in the 4004 and considered a major oversight.[src] Two more implemented a halt/stop system, which put the processor into a low-power mode and also allowed for single-step operation that made debugging much easier.[src] Another pin was used to bank select a second read-only memory (ROM), doubling the amount of ROM the processor could address compared to the 4004.[src] To make use of these new pins, the instruction set was expanded, increasing it to 60 instructions from the original 46.[src] Additionally, the internal register file and pushdown stack were expanded to support rapid interrupt processing.[src] ===4040=== The 4040 was essentially an expansion of the 4004, with additional pins, more registers and new instructions to take advantage of both.[src] The 4004 had a single ROM pin, whereas the 4040 added another ROM pin to allow two banks of ROM.[src] This effectively increased the ROM address from 12 to 13 bits, or 8 KB.[src] Unlike later designs where the two lines could be binary encoded and thus support four banks, the ROM chips used with the 4004 and 4040 used these lines like chip select pins, and thus the two lines could only support two banks.[src] The 4004 lacked interrupts, a serious limitation for some real-time applications.[src] The 4040 added a new input pin for calling an interrupt, as well an output pin to indicate the interrupt signal had been noticed and was being acted on.[src] As interrupts also need to save a return address, the stack register file was expanded to seven entries, up from three.[src] Interrupt handler code normally starts by saving out values in the registers to allow the interrupt code to use them, and then at the end it copies the values back from memory so that the processor returns to its original pre-interrupt state.[src] With the multi-cycle memory access of the design, this would have been extremely slow.[src] To address this, eight additional registers were added in a new "bank 1", the original sixteen registers retroactively becoming "bank 0".[src] When an interrupt was received, the handler code would call an instruction to swap banks, which would cause bank 1's registers to override bank 0's registers 0 through 7.[src] The handler code would then use these first eight registers for any local data, leaving the original values untouched.[src] When the handler completed, it simply swapped bank 0 back in.[src] This reduced the switching time to a single instruction, greatly improving interrupt response times.[src] Another addition was the input stop pin, and the associated output stop acknowledge.[src] These could be used to stop the processor while the system performed input/output or other non-CPU tasks, but was more widely used for debugging by allowing the processor to be single-stepped.[src] When the processor was in stopped mode, most of the chip hardware put into a low-drain, high-impedance condition, reducing power use.[src] The machine cycle clocks were kept running for the benefit of external devices, including any interrupt controllers needed to wake the chip back up, which relied on these controllers staying in sync.[src] To take advantage of these new features, and to support the new logical AND and OR operators, the instruction set added 14 new instructions, bringing the total to 60.[src] |}[src]
40 sentences · 40 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Intel 4040." encyclopegia.org, 2026, https://encyclopegia.org/wiki/intel-4040. Accessed 28 November 2026.
Chicago
"Intel 4040." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/intel-4040.
APA
encyclopegia.org. (2026). Intel 4040. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/intel-4040
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON