Short-type-global-assemblers operator-microprocessor, Assembly Language

SHORT  :

The  SHORT operator denoted to the assembler that only one byte is needed to code the displacement for a jump (for example displacement is within -128 to +127 bytes from the address of the byte next to the  jump  opcode).  This  process of specifying  the  jump  address saves the memory. Or else, the assembler may reserve two bytes for the displacement. The sentence structure of the statement is as given below.

JMP SHORT LABEL

TYPE :

The TYPE operator directs the assembler to decide the data type of the mention label and replaces the 'TYPE label' by the decided data type. For the particular word type variable, the data type is 2, for double word type, it is four, and for byte type, it is one. Imagine, the STRING is a word array. The instruction TYPE STRING, MOV AX, moves the value 0002H in AX.

GLOBAL :

The, variables, labels, constants or procedures declared GLOBAL can be used by other modules of the program. Once a variable is declared GLOBAL, it may be used by any module in the program. The following statement declares the process ROUTINE as a global label.

Posted Date: 10/12/2012 6:15:10 AM | Location : United States







Related Discussions:- Short-type-global-assemblers operator-microprocessor, Assignment Help, Ask Question on Short-type-global-assemblers operator-microprocessor, Get Answer, Expert's Help, Short-type-global-assemblers operator-microprocessor Discussions

Write discussion on Short-type-global-assemblers operator-microprocessor
Your posts are moderated
Related Questions
DQ:   Define  Quad word:-  This directive is taken in use to direct the assembler to reserve 4 words (8 bytes) of memory for the specified variable and can initialise it having

Physical Memory Mapped I/O and Port I/O : CPU controlled I/O comes in 2 ways. Simply the difference is whether we utilize the normal memory addresses for I/O, this is mention

RCR: Rotate Right through Carry:- This instruction rotates the contents  bit-wise of the destination operand right by the specified count through carry flag (CF). For each operati

END : END of Program:- The END directive marks the ending of the assembly language program. When the assembler comes across this END directive, it avoided the source lines avai

segmentation and overlapping in assemble language

Basic Microprocessor Architecture and Interface : Introduction: Intel launches its first 4-bit microprocessor 4004 in the year 1971 and 8-bit microprocessor 8008 in the y

Example : Write a program to move the contents of the memory location 0500H to BX and also to register CX. Add immediate byte 05H to the data residing in memory location, whose ad

Format of Control Register The format for the control register is given in Figure. Bit 0 of this register might be one before data may be output  and  bit  two  might be  one

Develop an assembly language program for the system and simulate it using MPLAB. From this produce a demo program (in Assembly language) that will run on the MatrixMultimedia Devel

SUB: Subtract :- The subtract instruction subtracts the source operand from destination operand and result is left in the destination operand. Source operand might be memory locati