please answer all of section 2 a, b, and c regarding x86 ISA.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

please answer all of section 2 a, b, and c regarding x86 ISA.

Post by answerhappygod »

please answer all of section 2 a, b, and c regarding x86
ISA.
Please Answer All Of Section 2 A B And C Regarding X86 Isa 1
Please Answer All Of Section 2 A B And C Regarding X86 Isa 1 (144.9 KiB) Viewed 46 times
Please Answer All Of Section 2 A B And C Regarding X86 Isa 2
Please Answer All Of Section 2 A B And C Regarding X86 Isa 2 (329.3 KiB) Viewed 46 times
II. The x86 ISA (2 pts. ea.) a. The primary data xfer instruction is the MOV. Give examples using MOV i. to copy the contents register eax to ecx ANSWER: ii. to copy the contents of memory to edx ANSWER: iii. to load ebx with an immediate value (24h) ANSWER: iv. to copy from memory to memory ANSWER: v. to copy the contents of edx to memory ANSWER:

b. Arithmetic instructions (2 pts. ea.) i. Use an instruction to add eax to memory ANSWER: ii. Use an instruction to subtract eax from memory ANSWER: iii. Where is the answer put if you multiply eax and ebx? ANSWER: iv. Write a div instruction that divides a 32-bit unsigned number by a 16- bit unsigned number. ANSWER: c. Control Flow instructions: What flag(or flags) values will cause each of the following conditional jumps to jump (or also known as branch in other processors)? (2 pts. ea.) i. JBE ANSWER: ii. JA ANSWER: iii. JO ANSWER: iv. JNO ANSWER: V. JE ANSWER: vi. JNE ANSWER: vii. JC ANSWER: viii. JNC ANSWER: ix. JS ANSWER: X. JNS ANSWER:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply