How are the bits of the register PSW affected if we select Bank2 of 8051?
A. PSW.5=0 and PSW.4=1
B. PSW.2=0 and PSW.3=1
C. PSW.3=1 and PSW.4=1
D. PSW.3=0 and PSW.4=1
Answer:A
How are the bits of the register PSW affected if we select Bank2 of 8051?
A. PSW.5=0 and PSW.4=1 B. PSW.2=0 and PSW.3=1 C. PSW.3=1 and PSW.4=1 D. PSW.3=0 and PSW.4=1
Explanation: Bits of PSW register are CY, AC, F0, RS1, RS0, OV, -, P so for selecting bank2 RS1=1 and RS0=0 which are fourth and third bit of the register respectively.