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

  Create a assembly language subroutine

Create a assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n words and array C containing n long words

  Write a function in linux assembly

Write a function in Linux assembly

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Design a simple digital clock

Design a simple digital clock

  Write an assembly program

Prepare an Assembly program that reads in a number of cents.

  Write an assembly language program

Write an assembly language program for encrypting alphabates of a string

  Greatest common divisor of integers-masm assembly language

Must be done in MASM assembly language: Greatest common divisor of two integers is largest integer which will evenly divide both integers. GCD algorithm involves integer division in a loop.

  Write assembly program-find right admission price to movie

Write the Assembly program to find correct admission price to movie. Price of admission to a movie is $7 for kids (under 12) and $9 for adults.

  Create simple 8-bit alu using add-subtract-shift functions

Create a simple 8-bit ALU. Requirements:The eight functions that you will implement are: add, subtract, and, or, shift left logical, less than, shift right logical.

  Write assembly program print binary representation-integers

Write the assembly program called hw6_ex1, stored in file hw6_ex1.asm. This program must prompt user to enter signed 32-bit integer. Program must print out binary representation of the integer.

  Allot op-codes and add microcode to microprogram

Allot op-codes and add microcode to microprogram of Mic-1 to implement following instructions which are then included with IJVM instruction set.

  Write mips assembly program to read two non-negative numbers

Write MIPS assembly program to repeatedly read two non-negative integers and print integer product and quotient without using multiplication and division instructions.

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