Changes

Jump to: navigation, search

Intel 8080

1,062 bytes added, 27 April
/* Compatibility */
[[CP/M]] required an 8080, 8085 or Z80 CPU and between 1976 and about 1983, microcomputers with a Z80 that ran CP/M were the norm before the market shifted to MS-DOS.
 
<br>
 
== Register File ==
 
{| class="wikitable" style="white-space: nowrap;"
! Register !! Size !! Description !! Notes
|-
| B, C, D, E, H, L || 8-bit || General-purpose registers || Can be used individually or as 16-bit pairs: BC, DE, HL
|-
| A (Accumulator) || 8-bit || Primary register for arithmetic, logic, and data transfer operations || Often the destination or source for operations
|-
| F (Flags) || 8-bit || Status flags reflecting results of operations:
* bit7 - SF - Sign Flag
* bit6 - ZF - Zero Flag
* bit5 - 0 (Fixed)
* bit4 - HF - Auxiliary Carry Flag
* bit3 - 0 (Fixed)
* bit2 - PF - Parity Flag
* bit1 - 1 (Fixed)
* bit0 - CF - Carry Flag
|| AC is used for BCD arithmetic (DAA instruction). Often paired with A as the 16-bit Program Status Word (PSW).
|-
| SP (Stack Pointer) || 16-bit || Points to the top of the stack || Used for PUSH, POP, CALL, RET instructions
|-
| PC (Program Counter) || 16-bit || Points to the memory address of the next instruction byte to be fetched || Increments automatically after fetching instruction bytes
|}
<br>
13,147
edits