Purchase Solution

CX (high word) and DX (low word)

Not what you're looking for?

Ask Custom Question

Write a small procedure that adds 2 words together and stores the results in CX (high word) and DX (low word). Call the procedure from a program that loads the words to be added together in registers AX and BX

Purchase this Solution

Solution Summary

Write a small procedure that adds 2 words together and stores the results in CX (high word) and DX (low word)

Solution Preview

; PROGRAM FOR ADDITION
MOV AX, 5 ; PUT FIRST NUMBER i.e. 5 IN REGISTER AX
MOV BX, 10 ; PUT SECOND NUMBER i.e. 10 IN REGISTER BX
CALL ADDITION ; ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Excel Introductory Quiz

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

C# variables and classes

This quiz contains questions about C# classes and variables.