3 ms·
Excerpt: "You might think—gee, seven is a very odd number of registers—and would be right! The registers were encoded as three bits of the instruction, so it a
by peter_d_sherman 7y ago
Excerpt:
"You might think—gee, seven is a very odd number of registers—and would be right! The registers were encoded as three bits of the instruction, so it allowed for eight combinations. The last one was for a pseudo-register called M. It stood for memory. M referred to the memory location pointed by the combination of registers H and L. H stood for high byte, while L stood for low byte of the memory address. That was the only available way to reference memory in [an] 8008."