Advanced Embedded Systems Question: Download Advanced Embedded Systems PDF
Tell me which register bank is used if we use the following instructions.
SETB PSW.3 A
SETB PSW.4 B?
Answer:
☛ Statement A sets 3rd bit of flag register.
☛ Statement B sets 4th bit of flag register.
☛ Therefore register bank 3 is initiated .
☛ It uses memory location 18H to 1FH.
☛ The register bank is also called as R3.
☛ Statement B sets 4th bit of flag register.
☛ Therefore register bank 3 is initiated .
☛ It uses memory location 18H to 1FH.
☛ The register bank is also called as R3.
Previous Question | Next Question |
Write a program to show the functionality of Power-save super loop? | Please explain whether we can use semaphore or mutex or spinlock in interrupt context in Linux Kernel? |