QuizKerala

Do you know?

[BOTH] 8085 microprocessor basics - part 2

12 facts. Swipe through the cards.
Free PSC questions in your emailLDC, LGS, prelims and more. Tell us your exam and get practice questions free.Sign up free
  1. Fact 1 of 12

    ALE: the address latch signal

    ALE (Address Latch Enable) goes high so an external latch can capture the low address byte on AD0-AD7. Why: those same pins carry data later. Like a KSEB meter reading saved before the bill is printed. Recall: ALE stands for?

  2. Fact 2 of 12

    The accumulator (register A)

    The accumulator is the main 8-bit register for arithmetic and logic. Why: most results pass through it. Like the main pot where every dish of a pressure cooker meal is finished. Recall: Which register is the accumulator?

  3. Fact 3 of 12

    ADD B stores its result in A

    ADD B adds register B to A and stores the sum in A. Why: A is always the destination, so its old value is overwritten. Like an autorickshaw meter adding each fare to the running total. Recall: Where is the sum stored?

  4. Fact 4 of 12

    Six general-purpose registers

    The 8085 has six general-purpose 8-bit registers: B, C, D, E, H and L. Why: they hold data close to the CPU, avoiding slow memory trips. Like keeping keys in a scooter pocket instead of walking back home. Recall: How many general-purpose registers?

  5. Fact 5 of 12

    Register pairs make 16-bit values

    B and C, D and E, H and L pair up as 16-bit registers: BC, DE and HL. Why: 16-bit values can hold memory addresses. HL is the memory pointer M. Like two KSEB meter dials read as one number. Recall: Which pair is the memory pointer?

  6. Fact 6 of 12

    The flag register holds five flags

    The flag register F is 8 bits, but the 8085 uses only five flags: S, Z, AC, P and CY. Why: each flag records a result condition for later decisions. Like warning lamps on a scooter dashboard. Recall: How many flags are used?

  7. Fact 7 of 12

    Sign flag S copies bit D7

    The sign flag S copies bit D7 of the result. S=1 means the result is negative in signed arithmetic. Why: D7 is the sign bit. Like the minus sign on a shop ledger showing money owed. Recall: Which bit does S copy?

  8. Fact 8 of 12

    Zero flag Z is set on zero result

    The zero flag Z is set to 1 when the result is zero. Why: it is how the CPU checks equality, for example after CPI, then JZ jumps. Like a scooter fuel gauge reading exactly empty. Recall: When is Z set?

  9. Fact 9 of 12

    Carry flag CY signals overflow

    The carry flag CY is set when addition carries out of D7, or subtraction needs a borrow. Why: the answer no longer fits in 8 bits. Like an odometer rolling from 99999 to 00000. Recall: Which flag signals a carry out of 8 bits?

  10. Fact 10 of 12

    Auxiliary carry AC for BCD sums

    The auxiliary carry AC is set when a carry passes from bit D3 into D4. Why: the DAA instruction uses it to correct decimal (BCD) sums. Like a KSEB meter units digit rolling past 9 into the tens. Recall: Which flag helps DAA fix BCD?

  11. Fact 11 of 12

    Parity flag P counts 1 bits

    The parity flag P is 1 when the result has an even number of 1 bits. Why: it helps detect errors in data transfer. Like counting slippers at a school gate and finding every pair complete. Recall: P is 1 when 1-bits are what?

  12. Fact 12 of 12

    PSW joins A and F

    The accumulator A and flag register F together form the PSW (program status word). Why: PUSH PSW saves both to the stack in one step. Like keeping a ration card and its receipt in one envelope. Recall: What do A and F form together?

Our apps on Google Play