answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What are the disadvantages of stack addressing?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What function for stack pointer of the register?

A stack pointer is a register pointing to the top of a stack. It supports the fundamental stack manipulations (push and pop) in an efficient manner. Most micro processor hardware has build-in hardware support for stack pointers, typically both in form of dedicated stack pointer registers and in form of addressing modes which support the creation and maintenance of stacks through general-purpose pointer registers. In software, many programming languages feature constructs suited for implementation of stack pointers within the high-level language (such as post-increment and pre-decrement operators in C).


What is implicit stack?

A stack created by the user or a programmer is an implicit stack


Can stack be as a pointer?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


How is the stack and stack pointer work?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.


In what order the elements of a pushdown stack are accessed?

Stack

Related questions

Advantages and disadvantages of addressing machines?

The Addressing Maching


What are advantages and disadvantages of addressing modes?

nvbn


What will be the addressing mode of instruction POP D in microprocesser 8085?

Stack/explicit.


What are advantages and disadvantages of addressing machine?

There are many advantages and disadvantages of an addressing machine. One advantage is that the writing is very clear and legible.


What layer of the tcpip stack represents logical addressing and determins the best path through the network?

INTERNET


What layer of the TCP stack represents logical addressing and determines the best path through the network?

Internet


What are the advantages and disadvantages of stacks?

Stacks are advantageous in enabling simple backtracking algorithms. That is the sole purpose of a stack, so there are no disadvantages as such.


What is effective address of stack addressing mode?

When you use a stack type instruction, such as PUSH B, you are using the effective address contained in the SP (Stack Pointer) register. In this example, m(SP-1) is set to B, m(SP-2) is set to C, and SP is set to SP-2.


What are advantages of stack?

some disadvantages created in stack using array then that problem solve to linked list use in stack.First advantage for size of stack not limited in linked list using.second essay to stack programme implement using only one pointer.


What function for stack pointer of the register?

A stack pointer is a register pointing to the top of a stack. It supports the fundamental stack manipulations (push and pop) in an efficient manner. Most micro processor hardware has build-in hardware support for stack pointers, typically both in form of dedicated stack pointer registers and in form of addressing modes which support the creation and maintenance of stacks through general-purpose pointer registers. In software, many programming languages feature constructs suited for implementation of stack pointers within the high-level language (such as post-increment and pre-decrement operators in C).


Explain different types of addressing mode?

Addressing modes are an aspect of the instruction set architecture in most central processing unit (CPU) designs. The various addressing modes that are defined in a given instruction set architecture define how machine language instructions in that architecture identify the operand (or operands) of each instruction. An addressing mode specifies how to calculate the effective memory address of an operand by using information held in registers and/or constants contained within a machine instruction or elsewhere.Number of addressing modesDifferent computer architectures vary greatly as to the number of addressing modes they provide in hardware. There are some benefits to eliminating complex addressing modes and using only one or a few simpler addressing modes, even though it requires a few extra instructions, and perhaps an extra register.[1] It has proven[citation needed] much easier to design pipelined CPUs if the only addressing modes available are simple ones. Most RISC machines have only about five simple addressing modes, while CISC machines such as the DEC VAX supermini have over a dozen addressing modes, some of which are quite complicated. The IBMSystem/360 mainframe had only three addressing modes; a few more have been added for the System/390.When there are only a few addressing modes, the particular addressing mode required is usually encoded within the instruction code (e.g. IBM System/390, most RISC). But when there are lots of addressing modes, a specific field is often set aside in the instruction to specify the addressing mode. The DEC VAX allowed multiple memory operands for almost all instructions, and so reserved the first few bits of each operand specifier to indicate the addressing mode for that particular operand. Keeping the addressing mode specifier bits separate from the opcode operation bits produces an orthogonal instruction set.Even on a computer with many addressing modes, measurements of actual programs[citation needed] indicate that the simple addressing modes listed below account for some 90% or more of all addressing modes used. Since most such measurements are based on code generated from high-level languages by compilers, this reflects to some extent the limitations of the compilers being used


Advantages and disadvantages 4 and 8 connected flood fill algorithm?

Advantages : - very simple - efficiency and correctness Disadvantages : - requires getpixel() system call - not efficient for large polygons - needs a large stack - requires a seed point