Question

In: Electrical Engineering

Assume that the registers have the following values (all in hex) and that CS= 1000, DS...

Assume that the registers have the following values (all in hex) and that CS= 1000, DS = 2000,
SS=3000, SI=4000, DI = 5000, BX=6080, BP= 7000, AX=25FF, CX=8791, and DX=1299. Calculate
the physical address of the memory where the operand is stored and the contents of the memory
locations in each of the addressing examples.
a) MOV [SI], AL
b) MOV [SI+BX+8], AH
c) MOV [BX]+300, DX
Now Examine the status of the CF, PF, AF, ZF, and SF if we execute the following statement after
first statement stated above. (N is equal to Last three digits of your roll number, convert to hex, show
binary equivalent of N and show all the carries generated at each stage of addition)
d) MOV [SI], AL
ADD [SI], N

Solutions

Expert Solution


Related Solutions

Assume that the registers have the following values all in hex and CS=0700, DS=0B00, SS=0A00, SI=A200,...
Assume that the registers have the following values all in hex and CS=0700, DS=0B00, SS=0A00, SI=A200, DI=2C00, AX=A00B, BX=130C, BP=AF09, CX=F1D5 and DX=1055. Calculate the physical address of memory where the operand is stored and show the contents of memory locations in each of the following addressing examples. a) MOV [BX]-10AH, CH b) MOV [BP][DI]+1CH,DX c) MOV [DI+BP-99FH],BX d) MOV [SI+4BH],BL
For the following reactions assume that dH and dS are independent of temperature and determine teh...
For the following reactions assume that dH and dS are independent of temperature and determine teh temperature at which the reaction becomes spontaneous. a.) C(gr)--> C(diamond) . dHf* kJ mol-1 respectively is: 0 ; 1.895 & dS* J K-1 mol-1 respectively is: 5.740 ; 2.377 . [Please explain the answer is none] . b.) 4Fe(s) +3 O2(g) --> 2Fe2O3 (s). dH* kJ mol-1 respectively for this reaction is: 0; 0 ; -824.2. dS* J K-1 mol-1 respectively is: 27.28 ;...
1. Assume we have 8 registers, R0~R7, and we have a pipeline of 6 stages: Instruction...
1. Assume we have 8 registers, R0~R7, and we have a pipeline of 6 stages: Instruction Fetch (IF), Instruction Issue (II), Operands Fetch (OF), Execution (EX), Write Back (WB), and Commitment (CO). Each stage needs exactly 1 cycle to finish its work. Also assume that the pipeline supports forwarding, which means the result of WB can be forwarded to OF. Given the following piece of instructions: R1 = R0 + R2 R3 = R4 + R5 R6 = R1 +...
Assume you have a superscalar CPU with in-order issue and in-order instructions that uses 8 registers...
Assume you have a superscalar CPU with in-order issue and in-order instructions that uses 8 registers (R0-R7). The usual rules include: up to two instructions can be issued in one cycle; instructions have to complete in the order they are issued; an instruction attempting to write to a register that is being read by any incomplete instruction cannot be issued until the incomplete instruction completes; any instruction attempting to read a register that is being written to by any incomplete...
Perform the following arithmetic in Binary assuming 16 bit registers (67)10 + (-89)10 List the values...
Perform the following arithmetic in Binary assuming 16 bit registers (67)10 + (-89)10 List the values of the status bits: C, V, N and Z
Assume the following asset and liability values represent the average values over the year. Also, assume...
Assume the following asset and liability values represent the average values over the year. Also, assume all sales are on credit. Account Cash $125,000 Accounts Receivable $175,000 Inventory $125,000    Property, Plant & Equipment $200,000 Current Liabilities $325,000 Long-term Liabilities $275,000 Stockholders’ Equity $25,000 Total Sales Revenue $800,000           Total Expense $600,000 (includes $250,000 COGS)      Outstanding Shares 100,000 Price per Share $50/shr     How is Vertical Analysis calculated and what does it communicate? What is the company’s AR Turnover? Inventory Turnover?...
The following transactions have been encountered in practice. Assume that all amounts are ..
The following transactions have been encountered in practice. Assume that all amounts are material.a. A company decided to put the assets of one product line up for sale (intended to be sold within next year) because management had decided to outsource production of that product to Mexico. The company established a plan of sale and engaged an industrial broker. The assets consisted of inventory with a carrying value of $80,000 and equipment with a carrying value of $840,000. The estimated...
The following table gives government bond prices (all have par value = $1000 and annual coupon...
The following table gives government bond prices (all have par value = $1000 and annual coupon payment): Bond Maturity (Years) Coupon (%) Yield to Maturity A 1 0.0 0.02 B 2 0.0 0.04 C 3 7.0 0.05 D 4 9.0 0.055 E 5 9.0 0.07 F 3 0.0 0.0512 G 4 0.0 0.0568 H 5 0.0 0.0624       a.     Which coupon-paying bond (bonds) is (are) mispriced by more than $1? Why?   b. Consider Bond C and Bond F, both with 3...
Write a program which reads an input file. It should assume that all values in the...
Write a program which reads an input file. It should assume that all values in the input file are integers written in decimal. Your program should read all integers from the file and print their sum, maximum value, minimum value, and average. Use the FileClient class here (from a previous reading) as an example. You'll need to create a file to be used as input to test your program, as well. Your program should work whether the integers are separated...
Fill in the table below for the following zero-coupon bonds, all of which have par values...
Fill in the table below for the following zero-coupon bonds, all of which have par values of $1,000. Use semi-annual periods. (Do not round intermediate calculations. Round your answers to 2 decimal places.) Solve for the fill in the blanks. Price Maturity (years) Yield to Maturity $440 20 % $540 20 % $540 10 % 10 10.40 % 10 7.60 % $440 8.40 %
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT