how to create basic assembler program?, Basic Computer Science

Assignment Help:
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.

Related Discussions:- how to create basic assembler program?

Discuss the objectives of query processing, Question 1 Differentiate betwe...

Question 1 Differentiate between PL/SQL functions and procedures Question 2 Draw the diagram of logical structure of oracle database and explain it in brief Question 3 D

Arithmetic and logic unit, Arithmetic and Logic Unit: The Arithmetic a...

Arithmetic and Logic Unit: The Arithmetic and Logic Unit is that part of the CPU that actually performs arithmetic and logical operations on data. The CU, CPU registers and me

Evolution of erp , Evolution of ERP  The origin of using computers for ...

Evolution of ERP  The origin of using computers for business, traces the following line of story. Originally, they were designed to support the repetitive and time consuming fu

How can we create a fcb file?, Creating a new file For the formation of fil...

Creating a new file For the formation of files the 21H interruption 16H function is used. DX must identify a control structure whose necessities are that as a minimum the logic uni

Stack, How to write an algorithm to reverse the order of elements on a stac...

How to write an algorithm to reverse the order of elements on a stack s using two additional stacks

Quiz for your learning activity, The development of your learning module is...

The development of your learning module is very time consuming, so it is recommended that you begin creating your learning module during this first week. Before you begin, download

What is electrical energy, the chemical reactions in a battery produce ____...

the chemical reactions in a battery produce ____________, each of which carries energy.

Processor, The role of array processor

The role of array processor

Explain fdma and tdma concepts, Question 1 Explain Wireless Protocol Requi...

Question 1 Explain Wireless Protocol Requirements and also explain in brief medium access control protocol Question 2 Explain FDMA and TDMA concepts Question 3 Exp

Explain any five different types of computers, Question 1 Explain any five...

Question 1 Explain any five different types of computers Question 2 Describe Bus Type LAN. Its disadvantages and advantages and examples Question 3 Describe the

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd