Purchase Solution

Manually Assemble

Not what you're looking for?

Ask Custom Question

Write and manually assemble the following programs. All memory addresses include the starting and ending addresses. Show comments and identified source codes.

1. Clear (place 0s) in all memory locations from 2000h to 200Ah.
2. Make every odd bit in memory addresses C000h and D000h a 0. Do not change any other bit at each address.

Purchase this Solution

Solution Summary

The solution writes and manually assembles the following programs.

Solution Preview

The response is attached in MS WORD file named solution.doc.

ANSWER:

PART 1
Mem. Mnemonics comments
Location
1000 MOV CX,000A(h) ; put total number of memory locations in CX

1002 MOV BX, 2000h ;put address of first memory location in BX

1004 MOV AX, DS:[BX] ; put contents of memory location specified by
BX inAX

1005 AND AX,0000h ; logically AND contents of memory location with
0000h i.e. clear memory location
...

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.