Answered step by step
Verified Expert Solution
Question
1 Approved Answer
9)3. Answer the following questions in the space provided a) Identify all errors in the following x86 instructions. In each case, explain what is wrong.
9)3. Answer the following questions in the space provided a) Identify all errors in the following x86 instructions. In each case, explain what is wrong. If the instruction is legal as written, mark it "OK." MOV BH, CL MOV DS, ES MOV ocIH, BH ADD [EDI, DX DEC ESI, 4 MOV AH, 255 b) Identify the addressing mode used for the destination operand in each of the following MOV EBX, 65h MOV ARRAY[EDI], AX MOV ARRAY[EBX+ESI], ECX MOV [ESI], EAX c) Three of the six x86 statu lags are the sign, parity, and zero flags. Name the other three. d) Convert the following real-mode segment/offset addresses to absolute addresses 39B7:4CB5 92AB:5C9D ) Write assembler directives that create a string NAME LF consisting of your last and first name (in upper- and lower-case ASCII characters with a comma and one space between them), plus a doubleword variable called LENGTH initialized to the number of bytes in NAME_LF. 9)3. Answer the following questions in the space provided a) Identify all errors in the following x86 instructions. In each case, explain what is wrong. If the instruction is legal as written, mark it "OK." MOV BH, CL MOV DS, ES MOV ocIH, BH ADD [EDI, DX DEC ESI, 4 MOV AH, 255 b) Identify the addressing mode used for the destination operand in each of the following MOV EBX, 65h MOV ARRAY[EDI], AX MOV ARRAY[EBX+ESI], ECX MOV [ESI], EAX c) Three of the six x86 statu lags are the sign, parity, and zero flags. Name the other three. d) Convert the following real-mode segment/offset addresses to absolute addresses 39B7:4CB5 92AB:5C9D ) Write assembler directives that create a string NAME LF consisting of your last and first name (in upper- and lower-case ASCII characters with a comma and one space between them), plus a doubleword variable called LENGTH initialized to the number of bytes in NAME_LF
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started