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

What is model view controller (mvc), Model-View-Controller (MVC) is a desig...

Model-View-Controller (MVC) is a design pattern in which "the user input, the modelling of the external world and the visual feedback to the user are explicitly splitted and handle

Contain your variable names and definitions, Give your analysis for the fol...

Give your analysis for the following problem statement: You require to write a program that calculates the area and perimeter of a rectangle whose dimensions (Length &width) are gi

What is cache coherency, Cache coherence refers to the integrity of data st...

Cache coherence refers to the integrity of data stored in local caches of a shared resource. Cache coherence is a special case of memory coherence. When clients in a system, mainly

What is efi framework, The Extensible Firmware Interface (EFI) is a specifi...

The Extensible Firmware Interface (EFI) is a specification that defines a software interface among an operating system and platform firmware. EFI is intended as a significantly imp

What are the different pascal standards, The original Pascal standard was a...

The original Pascal standard was an unofficial standard documented by the author, Nicklaus Wirth, in "The Report". The first official standard was ISO 7185 issued in 1983. This was

Difference between a window and a frame?, The Frame class extends Window to...

The Frame class extends Window to describe a main application window that can have a menu bar. A window can be modal.

Computer graphics, explain area sub division method algorithm

explain area sub division method algorithm

Define local area network, LAN is a privately - owned computer networks con...

LAN is a privately - owned computer networks confined to small geographical area, like a factory or an office widely used to connect office PCs to share resources and information.

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