answersLogoWhite

0

What else can I help you with?

Related Questions

Can the program counter be eliminated by using the top of the stack as a program count?

No. The program counter must be stored in a dedicated register. The stack is in working memory and you cannot operate on working memory; all values must be moved into a register in order to operate upon them. It makes no sense to move a program counter in and out of memory unless performing a context switch and you can't use a stack for context switching; a priority queue must be used for this. Keep in mind that the address of the top of the stack has to be moved in and out of its register during a context switch. It doesn't make sense to load the stack register from a priority queue before you can determine where the program counter value is. It's easier to keep all state information in the same place in the priority queue where it belongs.


Can you stack cards of the same number in Uno?

No, in Uno, you cannot stack cards of the same number.


Can you stack the same number in Uno?

No, in Uno you cannot stack the same number on top of each other.


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.


What of these components are shared by a multithreaded process?

There r some resources shared by different threads o the same process while some r not. The threads shares the address space,file,global variables. But each threads has its own stack , copy of registers(including PC).


Where initially is the top of the stack and how is it addressed?

A process can have more than one stack. Every process has one or more threads of execution and every thread has its own independent stack. So when we speak of "the stack" what we really mean is the stack within the context of the currently executing thread. That is, the same function of a process may use a different stack depending on which thread invokes the function. A thread's stack is allocated by the operating system when the thread is executed and is released when the thread terminates. Stacks are fixed size although the actual size may vary depending on the language compiler and the underlying architecture. Being fixed size means they can be allocated as a single block of contiguous memory addresses, usually at the top of a process' virtual address space (below any currently consumed addresses) and extending downwards into lower addresses. The main thread's stack is usually found at the very top of the virtual address space. Pushing and popping the stack is simply a matter of incrementing or decrementing the thread's stack register, which simply points at the next available address for a push. As such, stack memory is much faster to access than heap memory. The initial address (the top of the stack) may be the start address or the end address depending on the language compiler and the underlying architecture.


Which is not shared by the threads of the same process?

stack


An algorithm to Reversing the order of elements on stack S using 1 additional stacks?

// stack to contain content Stack sourceStack = new Stack(); // ... fill sourceStack with content // stack to contain reversed content Stack targetStack = new Stack(); while (!sourceStack.empty()) { targetStack.push(sourceStack.pop()); } // targetStack contains the reversed content of sourceStack


5 What it is the basic difference between a register and a counter?

register has the same clock. counter do not need to have the same clock.


What' s a double stack magazine?

A double stack magazine will have the cartridges loaded in a staggered or zigzag pattern like this : --_--_--_--_--_ As opposed to a single stack magazine which will have the cartridges loaded one directly above the other like this : -- -- -- -- --


What is the difference between a cargo gear register and a chain register in ships?

It is same


How do you stack 57 books with the same number of books in each stack?

To stack 57 books with the same number in each stack, you can create stacks of 19 books each. This way, you will have three stacks of 19 books each, totaling 57 books.