I was reading online homeworks and now I found a question saying What is the active register bank after execution the instruction MOV PSW, #50H
the answer is RS1=1, and RS0=0 so it is Register Bank 2 . first what is RS1 and what is RS0 and why are they set to zero and one and how can you know that the answer is register bank ?
I also have another question I also saw that the P bit in psw after executing this instruction mov a,#03h A=0000 0011B so P=0 first it was difficult to know what is p bit after some research I thought it is parity bit and then you have to count the number of one bits in the result so the number of 1 bit in the result is 2 so it is an even number so P must be equal to one so why is P equal to zero here ?
I appeciate every answer
the answer is RS1=1, and RS0=0 so it is Register Bank 2 . first what is RS1 and what is RS0 and why are they set to zero and one and how can you know that the answer is register bank ?
I also have another question I also saw that the P bit in psw after executing this instruction mov a,#03h A=0000 0011B so P=0 first it was difficult to know what is p bit after some research I thought it is parity bit and then you have to count the number of one bits in the result so the number of 1 bit in the result is 2 so it is an even number so P must be equal to one so why is P equal to zero here ?
I appeciate every answer