how to create basic assembler program?, Basic Computer Science

The primary step is to start the Debug; this step only consists of typing debug [Enter] on the operative system on time.
the "a" (assemble) command is used To assemble a program on the Debug, while this command is used, the address where you wish for the assembling to begin can be known as a parameter, if the parameter is omitted the assembling will be started at the area specified by CS: IP, usually 0100h, which is the area where programs with .COM extension must be
initiated. And it will be the position we will use since only Debug can create this particular type of programs.
Though at this instant it is not needed to give the "a" command a parameter, it is recommendable to do so to avoid problems once the CS: IP registers are used, consequently we type:
a 100[enter]
mov ax,0002[enter]
mov bx,0004[enter]
add ax,bx[enter]
nop[enter][enter]
What does the program perform? Ttransfer the value 0002 to the ax register, Transfer the value 0004 to the bx register, add the contents of the ax and bx registers, the instruction, no operation, to finish the program.
Posted Date: 5/4/2012 4:02:46 AM | Location : United States







Related Discussions:- how to create basic assembler program?, Assignment Help, Ask Question on how to create basic assembler program?, Get Answer, Expert's Help, how to create basic assembler program? Discussions

Write discussion on how to create basic assembler program?
Your posts are moderated
Related Questions
Definition of  Algorithm  An algorithm is a design or plan of obtaining a solution to a problem. The solution is presented by listing all steps in which they are carried out.

Metropolitan Area Networks : These type of networks generally cover specific metropolitan area and provide to them all the services.  Wide Area Networks (WANs): Wide Are

Indexing a page on internet: Once, the spiders have completed the task of finding information about Web pages, the search engine must store the information in such way that yo

Question 1: (a) Initially, human information processing was believed to occur in 4 distinct stages. State and describe each of those stages. (b) What are the 3 types of

Simulated Annealing One way to answer the problem of local maxima and related problems like ridges and plateaux in hill climbing is to permit the agent to go downhill to some e

Problem 1 Write a recursive function to find sum of even numbers from 2 to 50 Writing function and explanation Problem 2 What is structure? Explain how structu


which computer architecture use single bus structure??????? tells the name and little bit working

create a flowchart showing average score for the 3 quizzes assume that there are 3 sections each having 5 students the only valid number to be entered is 1-100 for the quizzes shou

Stub cables: The stub cables are for bi-directional data movement between LRU and current mode coupler.  The stub cables also supply power from the LRUs to the current couplers