Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please try to type by word 1. (15 pts) The following 68000 assembly language instructions are all incorrect. In each case, what specifically is the
Please try to type by word
1. (15 pts) The following 68000 assembly language instructions are all incorrect. In each case, what specifically is the error? (Hint: Consult the 68000 Instruction Set) a. EXT.B DO b. CMP.B #10, #20 C. ASR.W #9, D3 d, RTS.B e. EOR.W (A1)+, D5 f. ANDI D1, D2 g. CLR.L A4 h. SWAP A3 1. ADDQ.L #14, D1 j. MOVEA.B #9, A1 2. (5 pts) Describe the following 68000 condition code register (CCR) flags a. Z b. N C. C d. V 3. (10 pts) Translate this high level language into 68000 assembly language. Assume the labels 'T', 'X', and have already been defined as references to specific memory addresses. if T is greater than 10 then X=3 else Y=6 end if 4. (10 pts) Explain what the following 68000 assembly language does. Describe each line of code AND describe the overall effect of the program. MOVE.B #10, D1 MOVEAL #$500, A1 (A1) LOOP CLR.L ADD.L #4, A1 SUB.B #1, D1 BNE LOOP #$1000 STOPStep 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