hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following is not an example of pseudo-instruction?
    Question



    Which of the following is not an example of pseudo-instruction?

    A.

    ORG

    B.

    DEC

    C.

    END

    D.

    HLT

    Correct option is D


    The HLT instruction is not a pseudo-instruction; it is a machine-level instruction that halts the CPU. Pseudo-instructions, on the other hand, are not actual machine instructions but are used by assemblers to simplify programming and represent assembly directives.
    Information Booster
    1. HLT: A real machine instruction that halts the CPU until a reset signal or interrupt is received.
    2. Pseudo-Instructions:
    · Pseudo-instructions simplify assembly programming but are replaced by actual machine instructions or assembler directives during the assembly process.
    · Examples: ORG, EQU, END, DB (Define Byte).
    3. Machine Instructions:
    · Executed directly by the CPU.
    · HLT is a machine instruction that stops further execution.
    Additional Knowledge
    · Assembler Directives: Commands to the assembler to perform specific tasks (e.g., memory allocation, program termination).
    · Examples of Pseudo-Instructions:
    · EQU: Used to define constants.
    · DB: Allocates a byte of memory and initializes it with a value.
    · RESB: Reserves a block of bytes in memory.
    · ORG: A pseudo-instruction used to set the starting address for a program or a segment in memory. It tells the assembler where to place the subsequent instructions or data.
    · DEC: A pseudo-instruction or assembly directive used to declare variables or allocate memory for data.
    · END: A pseudo-instruction used to indicate the end of the source program to the assembler.

    Free Tests

    Free
    Must Attempt

    Basics of Education: Pedagogy, Andragogy, and Hutagogy

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English
    Free
    Must Attempt

    UGC NET Paper 1 Mock Test 1

    languageIcon English
    • pdpQsnIcon50 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon60 Mins
    languageIcon English
    Free
    Must Attempt

    Basics of Education: Pedagogy, Andragogy, and Hutagogy

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English
    test-prime-package

    Access ‘UGC NET Computer Science’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    446k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow