Assembly language point-of-view

Assignment Help Assembly Language
Reference no: EM13161027

T or F

1. From an Assembly Language point-of-view, any registers that are touched by a function need to first be preserved and then later restored to their original value when that function ends, if that functions wishes to leave no side-effects after its execution.

2. The ASCII code is case-sensitive so, as a result, the encoded value of the letter 'D' will not match the encoded value of the letter 'd'.

3. The instruction:

FSUB( ST5, ST4 ) ;

is illegal because one of its arguments must be ST0.

4. The instruction:

FADD( ST1, ST0 ) ;

will store the sum of its arguments into the FPU register ST1.

5. There are JMP instructions which branch based on the value of FPU condition codes.

6. Whenever a programmer loads a 32 or 64 bit value into an FPU register, it will always be the programmer's responsibility to be pad the value with additional bits to match the size of an FPU register.

7. Double-precision variables will have less accuracy (that is, fewer significant digits) than single-precision variables.

8. If an HLA programmer designs her assembly program by creating a high-level language program first, she will likely find that each high-level program statement corresponds to just a single Assembly instruction.

9. In a declared uns32 variable, bit position 0 is used to store the sign bit for the value.

10. On the 80x86 CPU, the EAX register keeps track of the value on the top of the runtime stack.

11. All of the FPU registers are 64 bits in size.

12. The instruction:

FADD() ;

will use as its parameters the registers EAX and EBX.

Please provide reason for each question if possible thx a lot.

Reference no: EM13161027

Questions Cloud

What are participating proteins : How do materials enter and exit the nucleus? What are participating proteins?
First name, last name, phone number : First Name, Last Name, Phone Number, email address (add additional elements as desired)  2. Include a search criteria based on last name or any of the elements created for your phone book entries in order to retrieve the information requested.
Algorithm for partitioning a set of n weights into k : give a greedy algorithm for partitioning a set of n weights into k bins. b) does it find the perfect solution?
Code for the haunted house game : Improve the game by adding more features, for example you can examine more items, more props etc. You may implement this using more lists regarding items and props, remember, you should check if the object is being carried or in the location of th..
Assembly language point-of-view : From an Assembly Language point-of-view, any registers that are touched by a function need to first be preserved and then later restored to their original value when that function ends, if that functions wishes to leave no side-effects after its exec..
Compare and contrast the shape of most animal cells : (A) Compare and contrast the shape of most animal cells with respect to most plant cells in terms of osmotic potential? (B) What is it that osmosis requires that sets it apart from simple diffusion?
What is the missing subnet id : What is the missing subnet ID for SUB3 assuming they are assigning the subnets in subnet ID  order? What is the range of IP addresses that may be used for hosts on SUB3?
Write a command to do an alphabetical sort on the third fiel : Write the command to run the file called 'process' assuming it is in your current directory, has execute permission, but that your current directory is not in the standard path command search list:
Hexadeciaml numerals are integers written : Hexadeciaml numerals are integers written in base 16. The digits used are '0' through '9' plus 'a' for the "digit 10", 'b' for the "digit 11", 'c' for the "digit 12", 'd' for the "digit 13", 'e' for the "digit 14", and 'f' for the "digit 15". For exa..

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