decimal adjust circuitry of
- In this post I reverse-engineer and describe the simple decimal adjust circuit in the 8085 microprocessor. Binary-coded decimal arithmetic was an important performance feature on early microprocessors. The idea behind BCD is to store two 4-bit decimal numbers in a byte. For instance, the number 42 is represented in BCD as 0100 0010 (0x42) instead of binary 00101010 (0x2a). This continues my reverse engineering series on the 8085’s ALU, flag logic, undocumented flags, register file, and instruction set.
- The lady doth protest too much, methinks (Wikipedia)
“The lady doth protest too much, methinks” is a line from the play Hamlet by William Shakespeare. It is spoken by Queen Gertrude in response to the insincere overacting of a character in the play within a play created by Prince Hamlet to elicit evidence of his uncle’s guilt in the murder of his father, the King of Denmark.