5 FLAGS
S0,S1 and IO/M are the status signal of 8085 mpu
there are 5 flags of intel 8085 are: Carry flag(CY), parity flag(P), Auxiliary Carry flag(AC), Zero Flag(Z), Sign flag(S).
All flags are affected after the SUB operation to reflect the result of subtraction.
The MOV A,A instruction in the 8085 does nothing, not even change flags. It only consumes time, specifically four clock cycles plus applicable wait states.
; Exact answer: LXI H, FFFFH push H POP PSW
A register is a temporary high speed storage location for some data, usually contained in the processor's internal hardware design. The accumulator, A in the 8085, has special significance as it can be the target of most arithmetic and logical manipulation instructions. Other registers, such as B in the 8085, can hold temporary values useful during a computation. Some registers, such as HL in the 8085, can hold addresses of memory operands. Special registers, such as SP or PC in the 8085, hold the stack pointer or program counter. Sometimes, internal registers, such as TEMP in the 8085, are used in the internal design of the computer, but they are not directly accessible to the program. Sometimes, registers are combined, such as B and C being treated as one value, BC, in the 8085. This is a case of a 16 bit register. Last, status registers, such as FLAGS in the 8085, hold various things related to processor status, such as the carry flag or various interrupt masks, but they are not generally treated as arbitrary storage of data.
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.
Calls Which are based on conditions like flag status are called conditional flags ex:cc(Call if carry) cz(Call if zero) Calls Which are independent of any kind of conditions, are called unconditional call Ex:Call 2030
The compare and subtract instructions in the 8085 both subtract one operand from another, and set flags accordingly. The subtract instruction stores the result in the accumulator, while the compare instruction does not - except for the flags, the compare instruction "throws" the result away.
for dcs 8086 and 8085 are usually used as base microcontroller as these have indication flags which r signaled to registers
The 8085 microprocessor has an 8-bit flag register, even though it only has 5 flags, because all of the registers in the 8085 are 8-bit or 16-bit. In fact, the flags register is considered to be part of the accumulator, as one "register pair", for purposes of stack push/pop and interrupt call/return. Be warned, however, that you should not attempt to change the state of bits stored on the stack and then pop'ing them into AF, because some of the three "unused" bits might be undocumented but actually used, or their meaning might change between different versions of the chip.