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
Interrupt System Based on Single 8259 A The 8259A is contained in a 28-pin dual-in-line package that need only a + 5-V supply voltage.  Its organization is shown in given figur

Machine Coding the Programs So far we have describe five programs which were  written  for hand coding  by a programmer. In this, we will now have a deep look at how these prog

Write an assembly program that will compute and output tuition cost: a. accept keyboard input of the number of credit hours taken b. accept keyboard input of the type of classes 1

CMPS : Compare String Byte or String Word:-The CMPS instruction may be utilized to compare two strings of Words or byte. The length of the string ought to be stored in the CX. If

Will be needing help with assembly language assignments over the course of 4 weeks

Example : Add the contents of the 2000H: 0500H memory location to contents of 3000H: 0600H and store the result in 5000H: 0700H. Solution : Unlike the past example progra

GROUP : Group the Related Segments:- The directive which is used to form logical groups of segments with same purpose or type. This isused to inform the assembler to form a log

write an assembly language program that has two subroutines : one for encrypting alphabates of a string and second fo decrypting the encoded string . in encryption simply converta

Intel's 8237 DMA controller : 1) The 8237 contain 4 independent I/O channels 2) It contains 27 registers, 7 of which are system-wide registers and 5 for each channel. 3)

Why is the capability to relocate processes desirable?