Pseudo instruction is given to___________.
Pseudo instructions are special directives that are given to the assembler. Unlike actual machine instructions, pseudo instructions do not translate directly into executable machine code that the CPU understands. Instead, they tell the assembler how to perform its task, such as defining data, allocating memory, or controlling the assembly process itself.
Let's examine the roles of the different options provided to understand which one interacts with pseudo instructions.
Based on the analysis, pseudo instructions are commands or directives meant for the assembler to guide it during the translation of assembly code into machine code. They do not generate executable instructions but rather help manage the assembly process, define data, and structure the program.
Therefore, pseudo instruction is given to the assembler.
| Component | Primary Function | Interacts with Pseudo Instructions? |
|---|---|---|
| Loader | Loads program into memory | No |
| Linker | Combines object files | No |
| C Compiler | Translates C code | No (Has compiler directives, not pseudo instructions) |
| Assembler | Translates assembly code to machine code | Yes (Pseudo instructions are directives for the assembler) |
| Tool | Input | Output | Role in Development |
|---|---|---|---|
| Compiler | High-level source code (C, C++, Java, etc.) | Assembly code or machine code (object code) | Translates human-readable code to machine-executable code. |
| Assembler | Assembly language code (mnemonics, pseudo instructions) | Machine code (object code) | Translates assembly language into binary machine instructions. |
| Linker | Object files, libraries | Executable program | Combines object files and resolves external references. |
| Loader | Executable program | Program loaded into memory | Loads the executable file into main memory for execution. |
It's important to distinguish between instructions and directives (like pseudo instructions) in assembly language:
Understanding the role of the assembler and its interaction with pseudo instructions is fundamental to understanding how assembly language programs are processed.
A stone is thrown horizontally from the top of a 20 m high building with a speed of 12 m/s. It hits the ground at a distance R from the building. Taking g = 10 m/s2 and neglecting air resistance will give :
A sphere of volume V is made of a material with lower density than water. While on Earth, it floats on water with its volume f1V (f1 < 1) submerged. On the other hand, on a spaceship accelerating with acceleration a < g (g is the acceleration due to gravity on Earth) in outer space, its submerged volume in water is f2V. Then:
A railway wagon (open at the top) of mass M1 is moving with speed v1 along a straight track. As a result of rain, after some time it gets partially filled with water so that the mass of the wagon becomes M2 and speed becomes v2. Taking the rain to be falling vertically and the water stationery inside the wagon, the relation between the two speeds v1 and v2 is :
Consider the following statements:
1. Distance between the longitudes becomes zero on North Pole and South Pole.
2. Distance between the longitudes is maximum on the Equator.
3. Number of longitudes is more than number of latitudes.
Which of the statements given above is/are correct?
One block of 2⋅0 kg mass is placed on top of another block of 3⋅0 kg mass. The coefficient of static friction between the two blocks is 0⋅2. The bottom block is pulled with a horizontal force F such that both the blocks move together without slipping. Taking acceleration due to gravity as 10 m/s2, the maximum value of the frictional force is :