Advanced Embedded Systems Question: Download Advanced Embedded Systems PDF

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

Tweet Share WhatsApp

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 PDF Read All 76 Advanced Embedded Systems Questions
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?