answersLogoWhite

0

What is function of status register?

Updated: 9/18/2023
User Avatar

Wiki User

11y ago

Best Answer

The status register holds the values of "flags" - bits indicating information about the state of the processor. Usually the bits indicate one of three possible outcomes of an arithmetic function: zero, carry, or overflow.

A "Zero" flag means that the result of an operation was "zero" - for example adding equal positive and negative numbers or that a logical evaluation returned a FALSE result.

A "Carry" flag can be used to allow operations on a data element comprised of more than one "word" by allowing an increment or decrement to be "carried" between a "word" of lower significant value and a "word" of higher significant value.

An "Overflow" flag is used to indicate that the results of an operation will not fit within the limits of a register width using twos complement representation.

Many systems also use the status register to indicate whether the result of an operation is negative or positive.

Some systems also have flags for overflow between 'nibbles' (half a byte), odd or even results, whether an operation is executing in 'supervisor mode', or interrupt enable bits.

All of these flags are normally set or cleared when an operation is completed. The register values can then be used to test for jumping/branching conditions.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is function of status register?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Function of flag register?

The main function of flag register is show the status of result stored in accumulator after execution of an instruction. Amar oli Dang,Nepal


Can you still register a vehicle when it is in repossession status?

not possible. sorry


What is the function of the register MAR?

it store address.


What are the two hex address locations of the Status Register?

o3h,04h


What is the function of processor status word in 8085?

Processor status word ( PSW ) in the case of 8085 refers to the collection of the values of the flag register and accumulator. It is used with the command push: PUSH PSW With this command, the proccessor saves the value of accumulator (A) and the values of the flag bits to the stack.


What is the function of the microinstruction register?

It is a memory register inside the CPU. The function is to hold the current microinstruction. The microinstruction is the bits that drive the control signal and drive the data path.


What is the function of the PC register in the 8086 CPU?

There is no PC register in the 8086/8088. It is called the IP register by Intel and it stands for the Instruction Pointer. It contains the address of the current/next instruction to be executed.


What is the function of status light?

ang nag basa egit


What is the function of the program counter register?

The function of the program counter register is to hold the address of the instruction that is being executed and (later) to hold the address of the instruction that will be executed next.


How do you know status of provident fund?

Register online in epf india website using your pf account number and then you can track the status of your pf account online every day


Can a lender stop you from register a new car if another car is in repo status in Florida?

yes they can stop you , you need to return the car back to the lender in other for you to register a new car.


What is the function of accumulator 8085?

It is an 8 bit register which is accessable to programmer and is main fuction is to perfom all arithmetic and logical function.