EEL4709C- Computer Design Quiz 3 due 3/20/2018 8 Name: PID: 1. In assembly progr
ID: 3733612 • Letter: E
Question
EEL4709C- Computer Design Quiz 3 due 3/20/2018 8 Name: PID: 1. In assembly programming, a. Instruction mnemonic is ignored by the assem ler. c. Label d. Comment b. Directive 2.executes at run time a. Instruction b. Directive c. Label d. Comment Thedirective is used to specify the END of asser bly program. a. RET b. EQU c. END d. ORG The format for the MOV instruction is: MOV source, destinc tion a. True 4. b. False 5. Which of the following statements is valid? a. MOV ah, 10h c. MOV var var1 d. MOV 28, bx b. MOV ax, bl Use the following variable definition for questions 6-7 Var1 db -128, 4,-1, 2 alueofde tination operandater the following instruction executes? MOV al, varl a. 80h b. FFh c. FCh d. FFFChExplanation / Answer
If you have any problems with the answer or want me to edit the answer, just let me know in the comments and I will try to get on to it as soon as possible.
Do give a positive rating if you think this answer helped.
We are required to do only 4 parts of a question.
1. The comments are ignored by the assembler and are processed. Hence the correct option is d. Comments.
2. Instruction are executed at run time. Hence the correct option is a. Instructions.
3. END instruction show the end of an assembly program and should be mentioned at the end of program. Hence the correct option is c. END.
4. The format of MOV instruction is MOV destination,source. Hence the given statement is False.
5. The instruction MOV ah, 10h is the valid hence the correct option is a. MOV ah, 10h. The option b is incorrect as we need destination address or register and here both are variables. For mov ax, bl is wrong as registers are of different size. MOV 28, bx is wrong as the format is wrong.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.