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
CMP: Compare: - This instruction compares the source operand, which can be a register or memory location an immediate data with a destination operand that might be a register or a

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 fr

Ask question #MinimuWHAT ARE CONSTANTS AND WHAT DO THEY DO?m 100 words accepted#

#Write a function to calculate the following arithmetic operation and return the result. A = 2 + (3x)3 + y/2n (x, y and n are arguments of the function where x is an integer in the

code, Assembly Language How to print strings in Right Triangle form?

Code for Reading Flow & Generating LED Output The code starts with the scanning of the PORT 3, for reading the flow status to check for various flow conditions and compare to

Write a program that allows a user to encrypt/decrypt a message using a shift cipher. The user should specify the key and the message. Your program should be able to handle messa

need algorithm for multiplication in assembly with out mul function?

Description: LC3 allows input from keyboard and output to display on the screen. This lab will exercise the input/output capability using LC-3 Assembly language. Procedure

implement the following c++ code in assembly language using the block-structured .IF and .while directives