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
QUESTION (a) You have been asked to design and implement a chat application. Which protocol would you used TCP or UDP? Justify your answer. (b) Explain why multithreading is

Choice of Medium: All the transmission channels discussed in the foregoing paragraphs can be used as point to point connections or as broadcast systems. Transmitting informati

Sometimes you may drop to perform conversions among the built-in types. To translate between types you just use the type name as a function. There are quite a few built-in function

Important: • No cheating will be tolerated. • No late submissions. Total Points for this programming assignment: 100 The goal of your programming assignment is to build and experim


Suppose that you are writing a stored procedure to record new purchases. Suppose that you know that while your procedure is running, another stored procedure that records shipment

Question 1 Explain boundary fill and flood fill polygon filling algorithm Question 2 Draw and explain the block diagram of typical workstation Question 3 Explain the ras

benefit a company derive from managing it own information technology

How to make an assignment entitled "Decision Making: Forecasting" and I am required to make a pseudocode and flowchart based on the task.

Configuration of a PC: Generally, when you think of purchasing a Computer, you first try to exactly know what will be the hardware components such as processor, memory etc. of