Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Q. What is Assembler?
An assembly program is used to transfer assembly language mnemonics to binary code for every instruction after the complete program has been written with support of an editor it's then assembled with help of an assembler.
An assembler works in 2 stageswhich are: it reads your source code 2 times. In first pass the assembler gathers all the symbols defined in the program accompanied by their offsets in symbol table. On the 2ndpass through the source program it generates binary code for every instruction of the program and give all symbols an offset with respect to segment from symbol table.
The assembler produces three files. Object file, list file and cross reference file. The object file comprises the binary code for every instruction in program. It is created only when your program has been successfully assembled without errors. Errors which are detected by assembler are known as the symbol errors. For illustrationMOVE AX1, ZX1.
In the statement it reads the word MOVE and it attempts to match with mnemonic sets as there is no mnemonic with this spelling then it presumes it to be an identifier and searches for its entry in symbol table. It doesn't even find it there hence gives an error as undeclared identifier.
List file is optional and comprises the source code, binary equivalent of every instruction and offsets of symbols in the program. This file is for purelydocumentation purposes. A number of the assemblers available on PC are TURBO,MASM etc.
Q. Describe Critical Directive in FORTAN? The critical directive permits one thread executes associated structured block. When one or more threads attain critical directive the
A library of container templates approved by the ANSI committee for inclusion in the standard C++ specification. A programmer who then launches into a discussion of the generic
What are the various mechanisms for implementing I/O operations? a) Program controlled I/O b) Interrupts c) DMA
DATA SEGMENT NUM1 DB 15h; First number NUM2 DB 20h; Second number RESULT DB? ; Put sum here CARRY DB? ; Put any carry he
CODING FOR...WHAT IS THE PROBABILITY THAT A CARD DRAWN FROM A PACK OF 52 CARDS WILL BE A DIAMOND OR A KING .
Q. Input output in assembly program? Software interrupt is a call to an Interrupt servicing program situated in the operating system. Generally the input-output routine in 8086
A useful exercise in understanding assembly language and its relation to machine language is to take a short assembly language program and translate it to machine language by hand.
#questi on.. How it works explain
Reading Decision Trees There is a link between decision tree representation and logical representations, which may be exploited to form it more easy to understand and learned
Make a data structure to store information about the elements in the periodic table of elements. For each element, store the name, atomic number, chemical symbol, class, atomic we
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd