MICROPROCESSOR AND MICROCONTROLLER

ASSEMBLY LANGUAGE PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Select the correct description of the assembly language code below:SUB R3, R2, #5
A
Subtract the value 5 from register 2 and store the result in register 3
B
Subtract the value 5 from register 3 and store the result in register 2
C
Subtract the value stored in register 2 from the value 5 and store the result in register 3
D
None of the above
Explanation: 

Detailed explanation-1: -Each source statement may include up to four fields: a label, an operation (instruction mnemonic or assembler directive), an operand, and a comment. The following are examples of an assembly directive and a regular machine instruction.

Detailed explanation-2: -Assembly languages are considered a low level language, while high-level languages such as C, Java, or Python use 0ā€™s and 1ā€™s instead of numbers, symbols, and abbreviations.

Detailed explanation-3: -Machine code is very hard to follow because it uses binary code to represent the instructions.

Detailed explanation-4: -a)It is an Object Oriented Programming Languageb)It is a High-level programming languagec)It is a low-level programming languaged)It is a language for assembling computerse)It is latest flash memory languageCorrect answer is option ā€˜Cā€™.

There is 1 question to complete.