Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
int 21h supports about 100 different functions a function is recognised by putting the function number in ah register for illustration if we want to
q explain keyboard input and video output a keystroke read from keyboard is termed as a console input and a character displayed on the video screen
q explain processing of an interruptthe interrupt is processed asstep 1number field in int instruction is multiplied by 4 to get its entry in
q input output in assembly programsoftware interrupt is a call to an interrupt servicing program situated in the operating system generally the
defining types of data the subsequent format is used for defining data definition format for data definition name
q define stack segment 8086 microprocessor supports word stack stack segment parameters tell the assembler to alert linker that this segment
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