A. Assume that the Instruction Pointer, EIP, contains 9610 and the assembly language representation of the instruction in memory at address 9610 is JB 175.  If the flags are currently CF=0, ZF=0 and SF=1 what is the value of the EIP after the instruction executes? B. Assume that the Instruction Pointer, EIP, contains 15410 and the assembly language representation of the instruction in memory at address 15410 is JNS 189.  If the flags are currently CF=1, ZF=0 and SF=1 what is the value of the EIP after the instruction executes? C. Assume that before the instruction is executed, the flags are CF=0, ZF=0 and SF=0 and the Registers have the values AL=0x35, BL=0x0F CL=0x25 and DL=0x78.   What are the values of the flags after the instruction ADD AL,0x90 executes? D. The following instruction is executed.  Assume that before execution, register R12 contains 0x85, R9 initially contains 0xC3, and the flags are ZF=0, SF=1, and CF=0.  0x indicates hexadecimal; do not include a 0x with your answer. Instruction: CMP R12, R9 After execution, register R12 contains

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 15VE: A(n) ________________ instruction always alters the instruction execution sequence. A(n)...
icon
Related questions
Question

A.

Assume that the Instruction Pointer, EIP, contains 9610 and the assembly language representation of the instruction in memory at address 9610 is JB 175.  If the flags are currently CF=0, ZF=0 and SF=1 what is the value of the EIP after the instruction executes?

B.

Assume that the Instruction Pointer, EIP, contains 15410 and the assembly language representation of the instruction in memory at address 15410 is JNS 189.  If the flags are currently CF=1, ZF=0 and SF=1 what is the value of the EIP after the instruction executes?

C.

Assume that before the instruction is executed, the flags are CF=0, ZF=0 and SF=0 and the Registers have the values AL=0x35BL=0x0F CL=0x25 and DL=0x78.  

What are the values of the flags after the instruction ADD AL,0x90 executes?

D.

The following instruction is executed.  Assume that before execution, register R12 contains 0x85, R9 initially contains 0xC3, and the flags are ZF=0, SF=1, and CF=0.  0x indicates hexadecimal; do not include a 0x with your answer.

Instruction: CMP R12, R9

After execution, register R12 contains

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning