aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Mainframe Programming: GDG, Assembler & COBOL
  • Which of the following Instructions is used to define a C...
Multiple choice technology mainframe

Which of the following Instructions is used to define a Constant in Assembler?

  1. DS

  2. DC

  3. No such instruction exists.

  4. Both 1 and 2

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In assembler languages, DC stands for Define Constant, while DS stands for Define Storage. DC is used to allocate memory and initialize it with constant values.

Keep practicing — related questions

  • Which of the following Instructions is used to allocate Memory in Assembler
  • Which of the following directives used in assembly language programming is used to direct the assembler to ...
  • Which of the following fields in assembler instruction format is a symbolic abbreviation for the operation ...
  • Which of the following assembly language directives is used to direct the assembler to reserve 4 words of m...
  • A simple two-pass assembler does which of the following the first pass?
  • After successful execution of ADD instruction below. A R1, Data1 Where Data1 DC X’85’ and R1 = 2 What is th...
  • Which of the following fields in assembler instruction format is a symbolic abbreviation for the operation ...
  • Which is not an operand?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Languages and Compilers (2284 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy