Assembler User Guide. INTRODUCTION CROSS ASSEMBLER Assembler Source Code Format Assembler Using the Section Directive · Setting up the. I am having a problem with the following assembly code. PROGX: MVI C, 10h LOOP1: CALL SHOWX DATAX: DB 80h, 01h, 40h, 02h DB 20h, 04h, 10h, 08h DB. assembler directives. EQU directive: the EQU directive directs the assembler to equate the specefied constant to a symbol. The EQU.

Author: Nalabar Meztir
Country: Maldives
Language: English (Spanish)
Genre: Relationship
Published (Last): 15 February 2015
Pages: 396
PDF File Size: 8.9 Mb
ePub File Size: 17.79 Mb
ISBN: 952-9-38834-927-2
Downloads: 37497
Price: Free* [*Free Regsitration Required]
Uploader: Mek

Download our mobile app and study on-the-go. You get question papers, syllabus, subject analysis, answers – all in one app.

Write short notes on assembler directives. Assembly language consists of two types of statements viz. Executable statements- These are the statements to be executed by the processor.

It consists of the entire instruction set of Assembler directives- These are the statements that direct the assembler to do something.

As the name says, it directs the assembler to do a task. The specialty of these statements is that they are effective only during the assembly of a program but they do not generate any code that is machine executable.


Instructions by Sam Varghese on Prezi

The assembler directives can be divided directves two categories namely the general purpose directives and the special directives. They are classified into the following categories based on the function performed by them- Simplified segment directives Data allocation directives Segment directives Macros related directives Code label directives Scope directives Listing control directives Miscellaneous directives.

CODE- This assembler directive indicates the beginning of the code segment. Its format is as follows: CODE [name] The name in this format is optional. DATA- This directive indicates the beginning of the data segment.

MODEL- This directive is used for selecting a standard memory model for the assembly language program. Each memory model has various limitations depending on the maximum space available for code and data.

8085 Assembler User Guide

Define Double word [DD]- It defines the data items that are a double word four bytes in length. Define Quad word [DQ]- This directive 0885 used to tell the assembler to declare variable 4 words in length or to reserve 4 words of storage in memory. Define Ten bytes [DT]- It is used to define the data items that are 10 bytes long.


END- This is placed at the end of a source and it acts as the last statement of a program.

Microprocessor – Assembly DB Directive – Stack Overflow

This is because the END directive terminates the entire program. ALIGN- This directive will tell the assembler to align the next instruction on an address which corresponds to the given value. INCLUDE- This directive is used to tell the assembler to insert a block of source code from the named file into the current source module. This shortens the source code. Engineering in your pocket Download our mobile app and study on-the-go.