Example of assembly program, Computer Engineering

Assignment Help:

Sample Program

In this program we only display:

Line                             Offset

Numbers                          -----------------Source Code-----------------

0001                                                    DATA SEGMENT

0002                             0000    MESSAGE DB "HAVE A NICE DAY!$"

0003                                                     DATA ENDS

0004                                                    STACK SEGMENT

0005                                                    STACK 0400H  

0006                                                    STACK ENDS

0007                                                     CODE SEGMENT

0008                            ASSUME   CS: CODE, DS: DATA    SS: STACK

0009                            Offset   Machine          Code

0010                            0000    B8XXXX       MOV AX,  DATA

0011                            0003    8ED8               MOV DS, AX

0012                            0005     BAXXXX     MOV DX, OFFSET MESSAGE

0013                            0008    B409               MOV AH, 09H

0014                            000A  CD21              INT  21H

0015                            000C  B8004C            MOV AX,  4C00H

0016                            000F  CD21                INT   21H

0017                                                                CODE ENDS

0018                                                                END


Related Discussions:- Example of assembly program

Advantages on electronic payment system, Advantages on electronic payment s...

Advantages on electronic payment system It gives good security schemes.  Four necessary security requirements for safe e-payments are Authentication, Encryption, Integrity,

Define the term grade of service, Define the term Grade of Service. Gr...

Define the term Grade of Service. Grade of Service: In loss systems, the traffic carried through the network is usually lower than the actual traffic offered to the network t

Define the character set of c language, Define the Character Set of C Langu...

Define the Character Set of C Language? C uses the lower case letter a to z, the upper case letters A to Z, the digits 0 to 9 and certain characters as building blocks to form

What is the advantage of running the vuser as thread, VuGen gives the facil...

VuGen gives the facility to use multithreading. This enables more Vusers to be run pergenerator. If the Vuser is run as a process, the similar driver program is loaded into memory

What is full trust, What is Full Trust? Your code is permitted to do an...

What is Full Trust? Your code is permitted to do anything in the framework, meaning that all (.Net) permissions are granted. The GAC has Full Trust because it's on the local HD

Example of the horizon problem, Example of the horizon problem: It is ...

Example of the horizon problem: It is also worth bearing in mind the horizon problem, however a game-playing agent cannot see much far satisfactory into the search space. Now

A graph ''g'' with ''n'' nodes is bipartite, A graph 'G' with 'n' nodes is ...

A graph 'G' with 'n' nodes is bipartite if it have  no cycle of odd length.

Vliw architecture, Vliw Architecture Superscalar architecture was desig...

Vliw Architecture Superscalar architecture was designed to develop the speed of the scalar processor. But it has been realized that it is not easy to execute as we discussed pr

Describe the fundamental characteristics of antennas, Question 1: (a) ...

Question 1: (a) Describe the two fundamental characteristics of antennas explaining in detail how it affects the security of wireless networks. (b) What is a wireless cli

Define virtual memory, Normal 0 false false false EN-IN...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

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