Machine execution cycle

Assignment Help Assembly Language
Reference no: EM13843916

Question 1:

1) Form the -ve hexadecimal number to 2's hex

hex to bin , bin to 2's , 2's to hex

Convert: -(C4)16 = (F3C)16

2) Convert 2's binary to decimal

2's - 1 , !bits , val = - (bin to dec):

Convert: (10110110)2 = (-74)10

3) Convert -ve decimal to binary

dec to bin , bin to 2's

Convert: (-217)10 = (1111111100100111)2s

4) Convert -ve decimal to hexadecimal

dec to 2's , 2's to hex

Convert: (-456)10 = (FE38)16

5) Convert -ve hexadecimal to decimal

hex to bin (2's) , 2's - 1 , !bits , val = - (bin to dec)

Convert: (5E9)16 =

Question 2:

Pay attention to the BASEs in each expression

1) (10101)2 + (1111)2 = ( )2
2) (10001)2 - (11001)2 = ( )2
3) (101)2 + (101)10 = ( )16
4) (101)10 - (101)16 = ( )2's
5) (ABC)16 + (DEF)16 = ( )16
6) (FED)16 - (DEF)16 = ( )2's

Question 3:

a. In the schematic diagram below, for each block 1 through 7, briefly explain its main function.

b. Explain the difference between the following two instructions (c++ code) as far as the machine execution cycle followed in the diagram below:

- bool x = true || false;
- float x = 1.1 + 2.2;

1979_Simplified pentium CPU block diagram.png

 

Reference no: EM13843916

Questions Cloud

Discusses location strategy : You have been asked to provide a location analysis on whether your company should expand an existing manufacturing plant or close the plant and move to a larger plant recently vacated by a bankrupt firm. Compose an email to your supervisor, Karen Sau..
Mexicos population changes after world war ii : Mexico's population changes after World War II
Multinational corporations that manufacture goods : Firm A, Firm B and Firm C are all multinational corporations that manufacture goods. Firm A operates in an industry where the pressure to reduce costs is high, but the pressure to be responsive to local markets is low. Give examples of 2 real-life fi..
Media of mass communication : Review Ch. 13 of The Media of Mass Communication, especially the "Lifestyle Effects", "Attitude Effects", "Cultural Effects", and "Behavioral Effects" sections
Machine execution cycle : Explain the difference between the two instructions as far as the machine execution cycle - Pay attention to the BASEs in each expression
How will you be able to drive customers to the site : Suppose you have a friend that either owns or works for a small business. They really don't want to spend the time or money designing and building their own website. How will you be able to drive customers to the site
What is the definition of the word presumptuous : What is the definition of the word presumptuous
What would be the optimal order quantity : A local furniture store sells beds as well as other furniture and accessory items. Their best-selling bed has an annual demand of 400 units. Each time they place an order for the beds, they incur a cost of $40.00 and the annual cost for carrying the ..
Trade-off between inventory carrying costs-ordering costs : What are ordering costs, and what is the trade-off between inventory carrying costs and ordering costs?

Reviews

Write a Review

Assembly Language Questions & Answers

  Hexadecimal number that can be stored in eax

The largest 24 bits signed hexadecimal number that can be stored in EAX and table with hexadecimal numbers only.

  Implement assembly language program to find greatest value

Write an assembly language program that will accept two 1-digit numbers (from 0 to 9) from the keyboard, compare the two numbers, and then print out the number of greatest value.

  Design circuits incorporating microcontrollers

Choose a microcontroller for a particular application and design circuits incorporating microcontrollers plus any additional hardware to control a particular application.

  Assignment related to arm assembly

The 8-Segment display and LEDs will show status of the safe: U: indicates safe is unlocked, L: indicates safe is locked, P: indicates safe is programming a code, C: indicates safe is confirming a new code

  Carefully comment each line of the assembly program

The assembly language code segment below is to be inserted into the main.asm file that takes an input controlled by a potentionmeter, converts that input to a digital value, and displays that value on the LEDs according to the following

  Provide the rtl instructions

Provide the RTL instructions and the time steps that will facilitate the execution of the following assembly language instructions  LDA addr,x  STX addr,x

  Cache statistics for two versions of matrix multiplication

Explore the cache statistics for two versions of matrix multiplication - Cache can be configured using the preference in ARMSim. For getting cache statistics, first put a breakpoint on SWI 0x11 instruction, and then note the statistics from cache

  Write assembley langusge program to evalute

Write Assembley Langusge program to evalute: 3A+ (B + 5C) 4 +C where A=25, B=30, C=10

  Study code and find how two dimensional array is accessed

Create a procedure called calc_col_sum which uses the same registers as the original procedure EBX ECX EDX ESI - The procedure return value should be in EAX.

  Marie program that will input a variable number

Develop a MARIE program that will input a variable number of user entered DECimal whole number grades, validating each one (0-100) in a subroutine

  Write a mips assembly language program

write a MIPS assembly language program that can be loaded and executed using the MARS simulator.

  Implement a simple login and password system

You are to implement a simple login and password system. Your system should allow for TEN usernames and their associated passwords to be stored.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd