answersLogoWhite

0


Best Answer
Program Counter( PC)stores the 16-bit memory address of the next instruction to be fetched.

Stack Pointer (SP)

stores the address of a memory location which is used as a stack.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

The stack pointer is a 16-bit register because that is how Intel designed the chip.

Memory in the 8085 and 8086/8088 is organized as a 16-bit addressable entity, and they wanted the stack to be locatable in any part of memory, so the stack pointer had to have equal addressible range as any other register.

Do not confuse this with the 20-bit segmented architecture of the 8086/8088. Program addressible space and execution model is still 16 bits.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

The program counter is 16 bits in size on the 8085 because that is how Intel designed it. The address bus is also 16 bits, so it made sense for the program and stack to be located anywhere in that address space.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

By a 'program counter' you probably meant 'Instruction Pointer'. These both registers are dedicated areas of CPU internal memory. Instruction Pointer, or IP, points at the address of the instruction currently being executed, whilst Stack Pointer contains address of stack area, where multiple addresses stored by principle of LIFO (Last-In-First-Out, the manner of stack organization).

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The program counter (PC) and stack pointer (SP) registers are 16-bit registers in the 8085 and in the 8086/8088 because that is how Intel designed the processors.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why stack pointer is 16- bit register?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the 16 bit register in the 8051?

pc and stack pointer


Which are the various 16-bit registers in Intel 8085?

The various 16-bit registers on the 8085 are BC, DE, HL, SP, PC.


Why are programme counter and stack pointer register 16 bit registers?

The program counter (PC) and stack pointer (SP) registers are 16-bit registers in the 8085 and in the 8086/8088 because that is how Intel designed the processors.


Why program counter and stack pointer is 16- bit?

Because that's how Intel designed it. Even though the 8085 is an 8-bit computer, the program counter and stack pointer are 16 bits wide in order to support the address bus, which is also 16 bits wide. In the case of the 8086/8088, the program counter and stack pointer are still 16 bits wide, even though the address bus is 20 bits wide, because the 8086/8088 adds segmentation through the 16 bit segment register which is left shifted by 4.


How much space did the Intel 8080 microprocessor have?

The stack size of Intel's 8085 microprocessor is theoretically 64 kb, but the real limit is a function of memory and program architecture and layout. The stack pointer is 16 bits, but that is not the same as stack size.


Why stack pointer is of 16 bit in 8085?

The stack pointer is 16 bits in size on the 8085 because that is how Intel designed it. The address bus is also 16 bits, so it made sense for the program and stack to be located anywhere in that address space.


How many register are located in 8088microprocessor?

there are 14 registers in 8088 micro processor. All the 14 are 16 bit registers. They are4 segment registers viz - code segment register, stack segment register, data segment register, extra segment register.general registers are - accumulator register i.e. AX, base register i.e. BX, count register i.e. CX, data register i.e. DX and stack pointer (SP), base pointer (BP).index registers are - source index(SI), destination index(DI),and the other registers are instruction pointer and flags register.


What is the difference between register stacks and memory stacks?

Registers are normally memory spaces internal to the processor or very close to it. They are generally faster than main memory and will be small in size and will hold very frequently used data.Register stacks are a set of such register memory locations.Memory refers to computers main memory outside CPU. It is used to keep data and programs. Memory stack is a series of memory locations.The difference between register stack and memory stack is...


Why stack pointer is 8-bit in microcontroller?

On 8-bit processors it is 16 bit, but in some processors (MosTek 65xx) the upper eight bit is constant 00000001.


How many registers are there in an 8085 microprocessor?

Accumulator or A register is an 8-bit register used for arithmetic, logic, I/O and load/store operations. Flag is an 8-bit register containing 5 1-bit flags: * Sign - set if the most significant bit of the result is set. * Zero - set if the result is zero. * Auxiliary carry - set if there was a carry out from bit 3 to bit 4 of the result. * Parity - set if the parity (the number of set bits in the result) is even. * Carry - set if there was a carry during addition, or borrow during subtraction/comparison. General registers: * 8-bit B and 8-bit C registers can be used as one 16-bit BC register pair. When used as a pair the C register contains low-order byte. Some instructions may use BC register as a data pointer. * 8-bit D and 8-bit E registers can be used as one 16-bit DE register pair. When used as a pair the E register contains low-order byte. Some instructions may use DE register as a data pointer. * 8-bit H and 8-bit L registers can be used as one 16-bit HL register pair. When used as a pair the L register contains low-order byte. HL register usually contains a data pointer used to reference memory addresses. Stack pointer is a 16 bit register. This register is always incremented/decremented by 2. Program counter is a 16-bit register.


What are the different registers in an 8085 microprocessor?

There are 6 general purpose Registers and Two special purpose registers: General purpose registers(8 bit basically) are B,C,D,E,H,L and SPECIAL Purpose resisters are STACK PONITER,PROGRAM COUNTER these two are 16 bit registers. If u want make general purpose registers as 16 bit registers, the combination is BC,DE,HL these are 16 bit pair registers


Why PC and Sp are 16 bit counter in 8085 microproceser?

Because Intel designed it that way. The 8085 was designed as a 8 bit computer in a 16 bit address space. This means that the PC (Program Counter) and SP (Stack Pointer) should be 16 bits in size.