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]
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
Data transmission: Most digital communication data is transmitted in a serial form, that is, only one bit at a time. Transmission of data in serial form means each bit is tran

Writing Assignment 1: Your boss wants to know about the risks of corporate blogging and recommended policies to prevent companies from liability. Write a properly informal for

Constant: In contrast to a variable, which is used as identifier for a value and which can change, constants are identifiers that are used for values, which cannot be changed.

Hi I have an assignment can you help me ?

For which X,Y in {o, O, Theta, Omega, omega}, do the relationships t(n)+t''(n) = X(min(t(n),t''(n))) and t(n)+t''(n) = Y(max(t(n),t''(n))) hold for all t,t'' such that t(n),t''(n)

File Sharing Architecture:   The development of microprocessor, PC and LAN transformed dumb terminals into -smart? clients. This brought a complete change in the computing env