Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Electrical & Electronics Expert

The purpose of this experiment is to introduce you to a powerful 80x86 assembly/machine language utility called DEBUG.

Preparing Your DEBUG Environment

If you have an older version of Windows (95, or 98) or Windows XP 32-bit, or Windows Vista 32-bit, or Windows 7 32-bit, then the DEBUG utility program is built into the operating system. You can prove this to yourself by opening a Command Prompt window (Start, Run, type debug into the run field, and click OK, or just click the Command Prompt icon). Once inside the Command Prompt window, type debug and press Enter. If you get an error then DEBUG does not exist on your Windows system.

Start Menu showing Command Prompt icon

If you have 64-bit versions of Windows XP, Vista, 7, or 8, then you need to install some special software to create a DEBUG environment.

The special software you need (DosBox) as well as the actual DEBUG program are saved in the following ZIP file:

The debughelp2.doc document explains how to unzip the files and get DEBUG running through DosBox.

Procedure

1. Read Appendix D, pages 560 through 575. Perform all the example DEBUG command exercises that are presented.

2. Here is the DEBUG program you need to enter and execute:

a
mov ax,0
mov bx,1234
mov cx,5678
mov dx,9abc
and ax,bx
or ax,cx
xor ax,dx
not ax
r
t 8
q

3. Run DEBUG and enter the program and commands line by line. The blank line after the not ax instruction is needed to get out of the "a" command.

4. Examine the DEBUG output. The final value in AX should be 333B. This would be a good time to do an Alt Print Screen to capture a screen shot of the DEBUG window to paste into your lab writeup.

5. Quit DEBUG and then run it again.

6. After entering the "a" command, change the first instruction from

mov ax,0

to

mov ax,????

where ???? is your 4-digit birth date. For example, if you were born on July 15, your instruction would be mov ax,0715

Then enter the rest of the instructions and commands.

7. Use DEBUG to run the modified program. Do another Alt Print Screen to grab the new DEBUG results for your lab writeup.

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9579954

Have any Question?


Related Questions in Electrical & Electronics

Questions -problem 1 - given the sinuosidal voltage vt 50

Questions - Problem 1 - Given the sinuosidal voltage v(t) = 50 cos(30t+10 o ) V, find: (a) the amplitude V m (b) the period T, (c) the frequency f and (d) v(t) at t = 10 ms. Problem 2 - A current source in a linear circu ...

Question 1for the ce amplifier in figure 1 given the

Question 1 For the CE amplifier in Figure (1), given the following component parameters: Parameter Value β DC , β AC 150 V BE 0 . 7 V V CC 12 V R C 820 ? R E 1 100 ? R E 2 220 ? R 1 20 k? R 2 5 . 2 k? R L 100 k? C 1 , C ...

Question 1 a pnp transistor withnbspbeta 60 is connected

Question 1. A pnp transistor with β = 60 is connected in a common-base configuration as shown in figure P5.8 (a) The emitter is driven by a constant-current source with I E = 0.75 mA. Determine I B , I C , α, and V C . ( ...

Summative assessmentin 2017 sej101 assessment will consist

Summative Assessment In 2017 SEJ101 assessment will consist of nine tasks that will develop a portfolio of your assessed work. Throughout the trimester you will have the opportunity for feedback on all nine tasks before ...

Research report1 read 3 to 4 journal articles about digital

Research report 1. Read 3 to 4 journal articles about digital control or industrial control, eg. one particular application, implementation aspect such as selection of sampling time, hardware etc. No text book example is ...

Assignment -consider a common emitter amplifiernow lets say

Assignment - Consider a common emitter amplifier: Now let's say that R B and R C do a fine job at DC biasing the BJT but they are large so they can be neglected for small signal (AC) analysis. In that case, the equivalen ...

Advanced computational techniques in engineering assignment

Advanced Computational Techniques in Engineering Assignment - Optimisation For this assignment, you are required to carry out the process of attempting to solve different optimisation problems. For each question, you are ...

Research report1 read 3 to 4 journal articles about

Research report 1. Read 3 to 4 journal articles about digital control or industrial control, eg. one particular application, implementation aspect such as selection of sampling time, hardware etc. No text book example is ...

Assignment - power distribution system transformerscomplete

Assignment - Power Distribution System Transformers Complete your calculations, drawings, and answers, neatly handwritten on these sheets and hand in at the start of lecture in week 6. Absolutely no late submissions will ...

1 goalin this project you will solve a non-trivial design

1 Goal In this project you will solve a non-trivial design problem explicitly using the divide-and-conquer (D&C) approach. The main reason for using the D&C approach is the ease of the design process and the streamlined ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As