Call-unconditional branch instruction-microprocessor, Assembly Language

CALL : Unconditional Call:-

This instruction is utilized to call a subroutine from a basic program. In case of assembly language programming, the term procedure is utilized interchangeably with subroutine. The address of the procedure might be specified indirectly or directly depending upon the addressing mode. Again there are two types of procedures depending on whether it is available in the similar segment (Near CALL,  for example ± 32K displacement) or in another segment (Far CALL, i.e. anywhere outside the segment). The modes for them are respectively known as intra segment and inter segment addressing modes. This instruction  comes under the unconditional  branch instructions  and  may be  explain as shown with the coding formats. On the execution, this instruction stores the incremented IP (for example address of the next instruction) and register CS onto the stack along with the flags and loads the registers CS and register IP, respectively, with the segment and offset addresses of the process to be called.

 

1565_CALL.jpg

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







Related Discussions:- Call-unconditional branch instruction-microprocessor, Assignment Help, Ask Question on Call-unconditional branch instruction-microprocessor, Get Answer, Expert's Help, Call-unconditional branch instruction-microprocessor Discussions

Write discussion on Call-unconditional branch instruction-microprocessor
Your posts are moderated
Related Questions
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

How to write an assembly program The initial step in writing an assembly language program is to identify and study the problem. After studying the problem, choose the logical m

Program : A program to move a string of the data words from offset 2000H to offset 3000H the length of the string is OFH. Solution : For writing this program, we will use

how to find out the given number is positive or negative?

Write a MC68H12 assembly language program to find the largest number in an array of ten 8-bit numbers. The array is stored in memory locations starting at address $1100. Use branch

can u please give me ideas on Assembly Language Projects using Nasm

Internal Hardware-Interrupts Internal hardware-interrupts are the outcome of sure situations that occur during the execution of a program, for example. Divide by 0. The interru

DW : Define Word:- The DW directive serves the same purposes as the DB directive, but now it makes the assembler  which reserves thenumber ofmemory words (16-bit) instead of by

SHL/SAL : Shift logical/Arithmetic Left: These instructions shift the operand byte or word bit by bit to the left and insert 0 in the newly introduced least significant bits. In c

Problems: 1. Write a single program. Each of the problems (2-4) should be written within a procedure. Your “main” procedure should call each procedure. Before calling each proc