Computer Science, asked by Vyom4610, 1 year ago

Why program counter and stack pointer are of 16 bits in a 8085?

Answers

Answered by befrenz218p7vlqb
5
because PC and stack pointer contain address which is 16 bit in 8085 processor. any register that contains address is 16 bit and that contains data is 8 bit in 8085.
Hope i got your question answered!!!!
Answered by RitaNarine
1

A program counter and stack pointer are of 16 bits in a 8085;

  • A program counter is a special program registered that stores the address of the next instruction in a program that has to be executed and the output for it has to be given.
  • The address of the program counter consists of 16 lines in 8085, 16 bits are required to store any instruction.
  • Thus, the PC is 16 bits.
  • As for the stack pointer, it has a special purpose that registers to point the location of the top of the stack.
  • Because the location is specified with using 16 bits, the stack pointer has 16 bits in 8085.

#SPJ2

Similar questions