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
Input and Output device: After having understood the characteristics relating to CPU and storage media, let us try to learn about I/O aspects of a computer system. Input /outp

true or false-- most designs of a desktop publishing document needs to follow clear, specific rules pertaining to design

QUESTION Developers spend much more time extending and changing code than they did originally while developing it. (a) As a team leader, illustrate how you will introduce to

Digital to analogue conversion (dac): Since many systems used on aircraft will require outputs in analogue form, it will be necessary to be able to convert the digital informat

Using only the digits 1-6 how many five digit numbers can be formed? How many of these have at least a 5? How many of them have either no 5 or no 6?

Embedded Operating Systems, Devices have EOS built-in, OPERATING SYSTEM embed on the System itself, Cell phones, PDAs, medical equipment Fast, Application specific Stable a

Research and Development  All intellectual activities consciously pursued and systematically completed generate useful information. Research (also Research and Development) is

What Features Should the Software Contain? Although the needs of every nursing department, hospital, pharmacy, would vary, certain common features are desirable in the software

I NEED FLOW CHART ANT DRAWINGS OF BASIC OPERATIONS OF COMPUTER