Question

In: Computer Science

Show ALL work if it is required for the question and BASES 7. Name 3 components...

Show ALL work if it is required for the question and BASES

7. Name 3 components of the CPU and the Buses. Describe what they do.

8. Name 4 essential status flags and describe what they do.

9. Translate this Expression to Assembly: EAX = -val2 + 7 - val3 + val1

Solutions

Expert Solution

7. Three components of CPU are:

1) Arithmetic Logic Unit (ALU)   

The ALU is the part of a CPU that performs all arithmetic computations including addition, subtraction, multiplication, and division. The Arithmetic Logic Unit also performs all logical operations. The ALU is a literally the fundamental building block of the CPU, and even the simplest processors contain an ALU.

2)Control Unit

The CPUs control unit is responsible for executing or storing the results coming out of the ALU. Within the CPU, the control unit performs the functions of fetch, decode, execute, and store.

3) Registers

Registers are the temporary storage areas for instructions or data within the processor.Registers work under the direction of the control unit to accept, hold and transfer instructions or data and perform arithmetic or logical comparisons at a high rate of speed.

8. Essential status flag and what they do

1)Carry flag.: Set if an arithmetic operation generates a carry or a borrow out of the most-significant bit of the result; cleared otherwise. This flag indicates an overflow condition for unsigned-integer arithmetic. It is also used in multiple-precision arithmetic.

2)Parity flag. Set if the least-significant byte of the result contains an even number of 1 bits; cleared otherwise.

3)Zero flag. Set if the result is zero; cleared otherwise

4)Sign flag. Set equal to the most-significant bit of the result, which is the sign bit of a signed integer. (0 indicates a positive value and 1 indicates a negative value.)


Related Solutions

Show ALL work if it is required for the question and BASES 1. What is the...
Show ALL work if it is required for the question and BASES 1. What is the Binary representation of this Decimal? (signed) 115 2. What is the Hexadecimal representation of this Decimal? (signed) 220 3. Convert the following from Signed Decimal to Hexadecimal: (signed) -24
Show ALL work if it is required for the question and BASES 4. Convert the following...
Show ALL work if it is required for the question and BASES 4. Convert the following from Signed Binary to Decimal: (signed) a. 10011010 b. 01001101 5. 10000001 - 01100110 6. 80D3 + 74C2
Show all work** Label answers ** * TI Graphing Calculators required ** Round probabilities to 3...
Show all work** Label answers ** * TI Graphing Calculators required ** Round probabilities to 3 decimal places * 1. According to a Kellogg Company, 34.2% of Americans eat breakfast every day. Calculate the binomial probabilities from randomly selected people in the U.S. a. P(Less than 11 Americans out of 25 eat breakfast daily) = b. P(More than 13 Americans out of 40 eat breakfast daily) = c. P(At least 1 out of 5 Americans eat breakfast daily) = d....
Show all your work Show all your work 3. Sales discount- allocate the following transactions into...
Show all your work Show all your work 3. Sales discount- allocate the following transactions into the correct part of the accounting equation and their correct T account a. Brown Company sold merchandise on account to Black Company $32,456 b. Black Company returned $10,121 worth of merchandise (account was credited) C. Brown Company received a check from Black Company less the returns with an 8% discount of 15/30 4. Purchase discount- allocate the following transactions into the correct part of...
WACC and NPV calculation SHOW ALL WORK !!!! Calculate the Components of WACC and the WACC...
WACC and NPV calculation SHOW ALL WORK !!!! Calculate the Components of WACC and the WACC Use 4 decimals. Cost of Debt:30 year Bonds Current Price 105.5% of par value 7.6 % Coupon Rate Semi Annual Bond 5 years to maturity Tax Rate: 40%. What is the Cost of Debt after tax? Preferred Stock Dividend $7.50 Current Price $60.00. What is the Cost of Preferred? Equity Risk Free Rate 6.50% Market Risk Premium 6.25% Stock Beta 0.7 What is the...
Please answer all parts of the question. Please show all work and all steps. 1a.) Show...
Please answer all parts of the question. Please show all work and all steps. 1a.) Show that the solutions of x' = arc tan (x) + t cannot have maxima 1b.) Find the value of a such that the existence and uniqueness theorem applies to the ivp x' = (3/2)((|x|)^(1/3)), x(0) = a. 1c.) Find the limits, as t approaches both positive infinity and negative infinity, of the solution Φ(t) of the ivp x' = (x+2)(1-x^4), x(0) = 0
Q1) Answer the following 3 part question (Show all your work) a). A horse named Dusty...
Q1) Answer the following 3 part question (Show all your work) a). A horse named Dusty Diamond is going off at 9 – 2 in the 5th race at Woodbine. You bet $5 on him to win. If he wins, what’s your payout? b) The over/under for the Saturday night game at Bodog is 54.5 and at BetUS is 51.5. If a better wanted to play it safe and minimize losses, how would they bet $100? c) The total betting...
Question 3: Pricing Multiple Product Versions (show all work) Casey’s company produces two versions of a...
Question 3: Pricing Multiple Product Versions (show all work) Casey’s company produces two versions of a software program, “Advanced” and “Basic”. There are 3 segments of customers, the Managers, Executives and Students, and the respective segment sizes are 2000, 1000 and 5000. The per-unit cost of producing the Advanced version is $20, while the per-unit cost of producing the Basic version is $10. The willingness to pay (WTP) for each version, by segment, is given as follows: WTP (Managers) =...
Please make sure to complete all parts of the question and to show all work used...
Please make sure to complete all parts of the question and to show all work used to compute the answer so I can see how the answer was found. A five-year annuity of 10 $5,230 semiannual payments will begin nine years from now, with the first payment coming nine and a half years from now. If the discount rate is 10 percent compounded monthly, what is the value of this annuity five years from now? What is the value three...
4) Interest (Show all of your work!) Find the interest rate required for an investment of...
4) Interest (Show all of your work!) Find the interest rate required for an investment of $10,000 to grow to $15,000 in 5 years if the interest is compounded as follows: a) Annually b) Quarterly 5) Inflation (Show all of your work!) Assuming annual compounding, find the time it would take for the general level of prices, in the economy, to double at the following annual inflation rates: a) 3% b) 8% 6) Time to Double (Show all of your...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT