Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
q what is code segmentthe logical program segment is termed as code segment when linker links a program it makes a note in header section of programs
q what is segment directivesegment directive defines logical segment to which following instructions or data allocations statement belong it also
end directive ends directive ends a segment and endp directive ends a procedure and end directive ends whole program which appears as last
q what do you mean by proc directiveproc directive code segment comprises executable code for a program that includes one or more procedures defined
q define hex directivehex hex directive enables the coding of hexadecimal values in body of the program that statement directs assembler to treat
q explain list directive in assembly languagea list directive causes assembler to generate an annotated listing on printer video screen disk drive or
q what do you mean by directivesassembly languages support numerous statements this allows you to control the way in which a source program assembles
q define parameters used in program annotationparameters a parameter refines and extends the meaning that assembler attributes to keyword in a
q define keyword and identifierskeyword a keyword is a statement which defines nature of that statement if statement is a directive then keyword
q explain program source codeprogram source code every assembly language statement appears asidentifier keyword parameter
q what is missing offsetthe xxxx in machine language for instruction at line 0010 is there since the assembler doesnt know data segment location
q what do you mean by segment numbers there is a good reason for not leaving determination of segment numbers up to assembler it permits programs
sample programin this program we only displayline
q describe the errorserrors two probabletypes of errors may take place in assembly programs a programming errors they are familiar errors
q why we use debuggerdebugger is a program which allows the user to test as well as debug the object file theuser can use this program to perform
q what do you mean by loaderloader is a program that assigns absolute addresses to program these addresses are produced by adding the address from
q what do you mean by linkerfor modularity of your programs it is better to break your program in numerous sub routines its even better to put common
q what is assembleran assembly program is used to transfer assembly language mnemonics to binary code for every instruction after the complete
q editor - tools necessary for assembly language programmingthe editor is a program which allows the user to enter and modify as well as store a
q explain about two-pass assemblerassemblers usually make two or more passes through a source program in order to resolve forward references in a
q what do you mean by manual assemblyit was an old method which required the programmer to translate every opcode in its numerical machine language
q explain assembly program executionan assembly program is written according to a strict set of rules a word processor or editor is used for keying
q illustrate the uses of assembly languageuses of assembly language assembly language is used mainly for writing short efficient specific interfacing
pros and cons of assembly languagethe following are a number of advantages disadvantages of employing assembly language assembly language offers
q need of the assembly language machine language code comprises the 0-1 combinations which computer decodes directly though the machine language