If the subroutine exceeds the private space allocated to it then the values are pushed onto _________
1.Stack
2.System heap
3.Reserve Space
4.Stack frame
The assembler stores all the names and their corresponding values in _____
1.Special purpose Register
2.Symbol Table
3. Value map Set
4.None of the mentioned
The instructions like MOV or ADD are called as ____
1.OP-Code
2.Operators
3.Commands
4.None of the mentioned
The order in which the return addresses are generated and used is _________
1.LIFO
2. FIFO
3.Random
4.Highest priority
When dealing with the branching code the assembler ___________
1.Replaces the target with its address
2.Does not replace until the test condition is satisfied
3. Finds the Branch offset and replaces the Branch target with it
4.Replaces the target with the value specified by the DATAWORD directive
In case of nested subroutines the return addresses are stored in __________
1.System heap
2.Special memory buffers
3. Processor stack
4.Registers
In the case of nested subroutines, the stack top is always _________
1. The saved contents of the called sub routine
2. The saved contents of the calling sub routine
3.The return addresses of the called sub routine
4.None of the mentioned
Instructions which won’t appear in the object program are called as ___
1.Redundant instructions
2.Exceptions
3.Comments
4.Assembler Directives
The Instruction fetch phase ends with _______
1.Placing the data from the address in MAR into MDR
2.Placing the address of the data into MAR
3.Completing the execution of the data and placing its storage address into MAR
4.Decoding the data in MDR and placing it in IR
The alternate way of writing the instruction, ADD #5,R1 is _____
1.ADD [5],[R1];
2.ADDI 5,R1;
3.ADDIME 5,[R1];
4.There is no other way
The appropriate return addresses are obtained with the help of ____ in case of nested routines.
1.MAR
2. MDR
3.Buffers
4.Stack-pointers
The assembler directive EQU, when used in the instruction: Sum EQU 200 does ____
1.Finds the first occurrence of Sum and assigns value 200 to it
2.Replaces every occurrence of Sum with 200
3.Re-assigns the address of Sum by adding 200 to its original address
4.Assigns 200 bytes of memory starting the location of Sum
The assembler stores the object code in ______
1. Main memory
2. Cache
3.RAM
4.Magnetic disk
The condition flag Z is set to 1 to indicate _____
1.The operation has resulted in an error
2.The operation requires an interrupt call
3. The result is zero
4.There is no empty register available
The data structure suitable for scheduling processes is _______
1.List
2.Heap
3.Queue
4. Stack
The directive used to perform initialization before the execution of the code is ______
1.Reserve
2.Store
3.Dataword
4.EQU
The Instruction fetch phase ends with _______
1.Placing the data from the address in MAR into MDR
2.Placing the address of the data into MAR
3.Completing the execution of the data and placing its storage address into MAR
4.Decoding the data in MDR and placing it in IR
The last statement of the source program should be _______
1.Stop
2.Return
3.OP
4.End
The location to return to, from the subroutine is stored in _______
1.TLB
2.PC
3. MAR
4.Link registers
The most efficient way of handling parameter passing is by using ______
1.General purpose registers
2. Stacks
3.Memory locations
4.None of the mentioned
The most Flexible way of logging the return addresses of the subroutines is by using _______
1.Registers
2.Stacks
3.Memory locations
4. None of the mentioned
The private space gets allocated to each subroutine when _________
1.The first statement of the routine is executed
2. When the context switch takes place
3.When the routine gets called
4.When the Allocate instruction is executed
The private work space dedicated to a subroutine is called as ________
1.System heap
2. Reserve
3. Stack frame
4.Allocation
The purpose of the ORIGIN directive is ______
1.To indicate the starting position in memory, where the program block is to be stored
2.To indicate the starting of the computation code
3.To indicate the purpose of the code
4. To list the locations of all the registers used
The reserved memory or private space of the subroutine gets deallocated when _______
1.The stop instruction is executed by the routine
2.The pointer reaches the end of the space
3.When the routine’s return statement is executed
4.None of the mentioned
The return address of the Sub-routine is pointed to by ______
1.IR
2.PC
3.MAR
4.Special memory registers
The stack frame for each subroutine is present in ______
1.Main memory
2.System Heap
3.Processor Stack
4.None of the mentioned
The sub-routine service procedure is similar to that of the interrupt service routine in ________
1.Method of context switch
2.Returning
3.Process execution
4.Method of context switch & Process execution
The utility program used to bring the object code into memory for execution is _____
1.Loader
2. Fetcher
3. Extractor
4. Linker
To overcome the problems of the assembler in dealing with branching code we use ____
1.Interpreter
2.Debugger
3.Op-Assembler
4. Two-pass assembler
What is subroutine nesting?
1. Having multiple subroutines in a program
2.Using a linking nest statement to put many subroutines under the same name
3.Having one routine call the other
4.None of the mentioned
When dealing with the branching code the assembler _____
1.Replaces the target with its address
2.Does not replace until the test condition is satisfied
3.Finds the Branch offset and replaces the Branch target with it
4.Replaces the target with the value specified by the DATAWORD directive
When parameters are being passed on to the subroutines they are stored in ________
1.Registers
2.Memory locations
3.Processor stacks
4.All of the mentioned
When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______
1.Branch target
2.Loop target
3.Forward target
4.Jump instruction
While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition.
1. TestAndSet
2.Branch
3. TestCondn
4. None of the mentioned
___ directive is used to specify and assign the memory required for the block of code.
1.Allocate
2. Assign
3.Set
4. Reserve
____ the most suitable data structure used to store the return addresses in the case of nested subroutines.
1.Heap
2. Stack
3.Queue
4.List
_____ directive specifies the end of execution of a program.
1. End
2.Return
3.Stop
4.Terminate
_____ pointer is used to point to parameters passed or local parameters of the subroutine.
1. Stack pointer
2. Frame pointer
3. Parameter register
4.Log register
______ converts the programs written in assembly language into machine instructions.
1.Machine compiler
2.Interpreter
3.Assembler
4.Converter