Advanced Embedded Systems Question:

Download Job Interview Questions and Answers PDF

What is the difference between statements.
MOV A, #17H -a
MOV A, 17H -b?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

Answer:

☛ Statement a indicates immediate data is copied into the register A.
☛ # in statement a indicates 17 is an immediate data which is moved to the destination.
☛ Here one copies the immediate data and other copies the data present at the specified address.
☛ In statement b the value present in 17H memory location is copied into A register.
☛ Absence of pound sign does not cause any error but required operation fails.

Download Advanced Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me which registers are used for register indirect addressing mode if data is on-chip?Tell me as you know a vast majority of High Performance Embedded systems today use RISC architecture why?