Hexadecimal number that can be stored in eax

Assignment Help Assembly Language
Reference no: EM13144749

1. Complete the following tables using hexadecimal  numbers only :

 

32

25

24

17

16

9

8

1

INSTRUCTIONS

 

 

 

 

 

 

 

 

mov eax, 3F293567h

 

 

 

 

 

 

 

 

mov ax, 9BCh

 

 

 

 

 

 

 

 

mov ax, 3D32h

 

 

 

 

 

 

 

 

mov ah, 5Ch 

 

 

 

 

 

 

 

 

mov  ax, 3h

 

 

 

 

 

 

 

 

mov eax, 1267

 

 

 

 

 

 

 

 

mov ax, 3AF4h

 

 

 

 

 

 

 

 

mov ah, 27h  

 

 

 

 

 

 

 

 

mov al, 25

 

 

 

 

 

 

 

 

2. Complete the following table with hexadecimal numbers only.

ASSEMBLY CODE

EAX

EDX

X

x dword 6AAD h

 

 

 

mov edx, 0h

 

 

 

mov eax, 5ACDEFh

 

 

 

div  x

 

 

 

3. Complete the following tables with hexadecimal numbers only:.          

ASSEMBLY CODE

EAX

EDX

X

x dword 78368239d

 

 

 

mov eax , x

 

 

 

mul  x

 

 

 

4.  Complete the table below. Use only hexadecimal numbers only.

AL INSTRUCTIONS

  eax

ebx

BYTES:

 

1

2

3

4

5

6

7

8

mov eax, 2 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov  ebx, 7D12Eh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov [eax], ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov eax, 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov ebx, 923d

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov [eax], ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov  ebx, 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov eax, [ebx]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov eax, 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

move ebx,  '- x3'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov [eax], ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5. Compute 433235 Mod(2435) = N5 = ________

6.

mov ax ,  1011 0100 1110 1011 b

mov bx,   0000 0101 0010 0000 b

and ax, bx

shr ax, 4 ;                                      

The register AX will contain the resulting number, in decimal =              

7. (a).  The float point number 56.00089   = N10/M10 where N10/M10 = __________

   (b).  N10/M10 -> P16/Q16 where P16/Q16 = _____

8.  Write 0.23/0.0035 in scientific notation form  N/M* 10 n  where N, M and n are integers:  _______

9. The end of the following partial program will store    __________   into  eax.    

mov eax, 0

mov ebx, 1

begin: cmp ebx , 3

jg end

add ebx, 1

add eax, ebx

jmp begin

end:

10. From this partial program complete the following table below:

mov eax, 1 ;        

mov ebx, 100       

cmp eax, 4

begin: jg  end

mov [ebx], eax

 add eax, 2

add ebx, 4

 jmp begin

end:

Memory Storage                               

100

101

102

103

104

105

106

107

108

109

110

111

 

 

 

 

 

 

 

 

 

 

 

 

11. [(0.3879)(768000)]/[(57.554)(3000)] = [(3879)10n(768)10m]/[(57554)10p(3)10q] =

     {[(3879)(768)/[(57554)(3)]}10R

n = _______  ; m = ________ ;   p = ___  ; q = _________   ;    R__________            

12. The following partial program will truncate the number 3.5

.data

n word ?

x real4     3.5

round word 0600h

.code

_start :

fld x           

fstcw round

fist n ;         

public _start

end

True   ______    False _______  

13. .data

n word ?

x real4 0.09

y word ?

round word 0600h

.code

_start :

fld x          

fldcw round     

fist n            

fstcw  y

public _start                                                                                                                                                                    

end:  This partial program stores in y the value _____  and stores in n the value ______

14.

; begin

mov m,  0100010100000000b

fcom x

fstsw ax

and ax,m

cmp  ax,  0100000000000000b

 jne L1

mov eax, 1 

jmp L2

L1:mov eax ,  0

L2: end

Assuming that S has a value, the partial program above will find that

(a). S > x;     (b). S < x     (c). S=x      (d).  S≠ x  (e).  none of these   __________

15. The following are ASCII codes: 3C 42 5D.   Translate into a string ___________   

16.  Complete the following table below. Only hexadecimal numbers.                                

INSTRUCTIONS

eax

ebx

BYTES:

 

9

10

11

12

13

14

15

16

17

mov eax,  2ACB16h

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov ebx, 9d

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

add ebx, 1d

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov [ebx], eax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

add  [ebx], ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

add  eax, ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17.  Complete the table below. Only hexadecimal numbers.

AL INSTRUCTIONS

  eax

ebx

BYTES:

 

1

2

3

4

5

6

7

8

mov eax, 2 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov  ebx, 7D12Eh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov [eax], ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov eax, 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov ebx, 568923h

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov [eax], ebx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov  ebx, 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mov eax, [ebx]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

18.  The largest 24 bits signed hexadecimal number that can be stored in EAX is

EAX:                                            hexadecimal number                     

 

 

 

 

 

 

 

 

Complete the table above.

Reference no: EM13144749

Questions Cloud

Current economic environment : Briefly - in 350 words or more - describe the effect of cost structure on profitability, including recommendations for each company given the current economic environment, as you understand it.
How does the musculoskeletal system change : how does the musculoskeletal system change from birth to adulthood and what are the steps the system goes through from childhood to adulthood to reach 206 bones.
How much is the remaining proper-plant and equipment worth : The remaining property, plant,and equipment is worth 10% more that its depreciated cost. How much is the remaining proper, plant, and equipment worth?
Compare and contrast the different types of audit risk : Compare and contrast the different types of audit risk. Determine the type of risk that you think is the least detrimental and the most detrimental. Defend your answer.
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.
Additional first-year depreciation : It is used 100% of the time for business and it is the only business asset acquired by Norm during 2010. Compute the maximum deduction with respect to the SUV for 2010. If Congress reenacts additional first-year depreciation for 2010, Norm elects ..
What is the ph of a solution : what is the pH of a solution obtained by adding 3.50g of HBr to 435mL of a 0.639M solution of HNO3?
Find expected value of the random variable : The number of gallons (measured in thousands of gallons) that this gas station sells per week. If Y = 340 - 90X, what is the expected value of the random variable Y?
What mass of cobalt (ii) oxide will be required : Carbon oxide (carbon (II) oxide) can be purified of oxygen impurities by having it react with cobalt (II) oxide. If the impure carbon oxide contains a volume of 1.5% oxygen, and if it reacts with cobalt (II) oxide at 250 °C and 500 kPa.

Reviews

Write a Review

 

Assembly Language Questions & Answers

  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.

  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.

  Write an assembly language program

Write an assembly language program for encrypting alphabates of a string

  Program in assebly language to solve first degree equations

Create the program on Assebly language which can solve First Degree Equations in form of Ax + B = 0. Coefficients of equation must be entered from keyboard.

  Multiply by using shift and add instructions

How does real time PCR work to quantify the initial amount of the DNA template? How should the method be modified to quantify the initial amount of RNA template extracted from tissue or cells?

  Design a simple digital clock

Design a simple digital clock

  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

  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.

  Integral square root of an input number

Write a short assembly program that computes the integral square root of an input number and In this problem you will write a program that will compute the first 20 numbers in the Fibonacci sequence.

  Program a maze-type game using assembly language

This project requires you to program a maze-type game using Assembly Language. It is not acceptable to use any other programming language for this project. T

  Nonrecursive factorial

Write a nonrecursive version of the Factorial procedure that uses a loop and Write a short program that interactively tests your Factorial procedure.

  Write an assembly program

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

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