Question: Consider a 6 - bit twos complement representation of integers. Show an example of each of the following: i . Adding two numbers together with
Consider a bit twos complement representation of integers. Show an example of each
of the following:
i Adding two numbers together with a carry out of with overflow.
ii Adding two numbers together with a carry out of but no overflow.
iii. Adding two numbers together with a carry out of with overflow.
iv Adding two numbers together with a carry out of but no overflow.
Find the single precision floating point representation of Give answer in
hexadecimal form.
Find the double precision floating point precision of Give answer in
hexadecimal form.
DEBUG EXERCISES
Get into DEBUG.
a Enter the command: e A
Explain what this command does.
b Enter the command: d A
What does this command do How does what you see on the screen relate back to the
command in a
c Enter the command: u AA
Explain what this command does.
Exit from DEBUG.
Write an assembly language program suitable for DEBUG that adds the following four
hexadecimal numbers together and puts the result in AX:
BB B
Exit from DEBUG.
Get into DEBUG and enter the following assembly language instructions using the A
command:
mov ax
mov bh
mov bl
nop
Run the program using the T command.
a Notice the value placed in ax CLEARLY EXPLAIN how was that hexadecimal value arrived
at Show your work.
b How is the final value arrived at in BX Again, show.
Exit DEBUG
Get into DEBUG.
a Execute the following command: e d c f
What did this command do
b Use the A command to enter the following program:
mov ch
mov cl
mov bx
mov bl
inc bx
mov ax
inc ax
nop
Execute the program using the T command.
c Show the final values of ax bx and cx Explain in detail how each arrived at their particular values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
