Engineering
Engineering, 10.11.2019 05:31, sarbjit879

Assuming that 16 bits are available to store the relevant operand and the result:

show how the compiler can use subtraction and shifting only (that is, no use of multiplication) to determine the result of 18*504, if 18 is the value of a variable, x, and 504 is a constant which is known to the compiler at compilation time. show the bit patterns of both operands in the multiplication, and explain clearly the steps you follow to determine the result. hint: see the slides on "multiplying by constants".

now show how the compiler can use subtraction and shifting only (that is, no use of multiplication) to determine the result of 18*-504, if 18 is the value of a variable, x, and -504 is a constant which is known to the compiler at compilation time. show the bit patterns of both operands in the multiplication, and explain clearly the steps you follow to determine the result. hint: see the slides on "multiplying by constants" when the constant is negative.

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 23:20, abbz13
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
Answers: 3
image
Engineering, 04.07.2019 18:10, settasav9641
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
image
Engineering, 04.07.2019 18:10, lowkeyqueenk
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
image
Engineering, 04.07.2019 18:20, miguel454545
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
Do you know the correct answer?
Assuming that 16 bits are available to store the relevant operand and the result:

show...

Questions in other subjects:

Konu
Biology, 25.09.2021 01:20
Konu
Computers and Technology, 25.09.2021 01:20