answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What should you do after an accumulator or counter variable is displayed at the end of a program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

A loop control variable that is incremented a specific number of times is known as?

A loop control variable is widly known as a "counter".


What is the difference between the instruction location counter and the program counter?

The Instruction Location Counter is a variable inside of the assembler. While the Program Counter is a register. The PC solely keeps track of the next instruction in a program, ILC increments by each instruction's operand length.


Why is program counter a pointer and not a counter?

A program counter is a register in a computer processor that contains the address (location) of the instruction being executed at the current time. In order for the program counter to move to the next instruction and thus process the entire program, it must be updated or changed at runtime. Pointers are variables that point to the address of where the variable's value is stored, and ONLY POINTERS can be changed at runtime. Trying to change a normal variable will just result in a FALSE return.


Difference between a counter and a register?

A register can hold data, and it can be used for temporary storage or, in the case of an accumulator, it can participate in arithmetic or logical operations. A counter is a special case of a register. Usually, it can only be loaded, stored, or incremented, or used for the stack or as the program counter.


What is string variables?

A string variable is a programming language construct that holds text. For example, the text "The sky is blue" could be stored to a string variable, then later in the program, that text could be displayed.


When can program counter be used?

Basically, whenever you need to count something. One common scenario is when you need to repeat a program block a certain number of times - the counter variable will be used, in this case, to keep track of how many times the program block has already been executed.


Function of a program counter?

Program Counter is just a synonim for Instruction Pointer.


What component of the computer keeps track of the address in memory of the programming instruction being executed?

A stored-program computer at least needs to know which instruction it has to execute next. Other memory addresses of special significance are e.g. the top of one or more stacks, or addresses to be used by instructions.To keep track of such addresses, all CPUs have one or more registers; for instance the address of the next instruction is stored in the instruction pointer, a.k.a. program counter. Which and how many registers of a CPU are designated to keep addresses depends on the CPU type. The Z80 for instance has a program counter, a stack pointer, two index registers and an indirect address register doubling as 16 bit accumulator, while the contemporay 6502 only has a program counter and a stack pointer.


What does program counter contain?

Program counter is a processor register that indicates where a computer is in its program sequence. It contains the address of the memory location.


When you point to a program button on the taskbar what is displayed?

thumbnail


What is the purpose of program counter?

program counter is a register that has the address of next instruction that has to be executed after currently executing instruction. it is used for proper execution of functions of computer by providing address of next instruction to microprocessor.


If the variable flag can only be declared once in the program it was declared as what type of variable?

It's a global variable.