Computer Organization & Architecture (3140707) MCQs

MCQs of Assembly Language Programming

Showing 31 to 35 out of 35 Questions
31.
Which operation is performed after execution of following program?
CLE
SPA
CME
CIR
(a) Arithmetic left
(b) Arithmetic right
(c) Logical left
(d) Logical right
Answer:

Option (b)

32.
AC = 1234 H, what will be the value in AC after the execution of program?
            CIL
            CIL
            CIL
            CIL
            AND NUM
NUM, HEX FFF0
(a) 0000 H
(b) 1230 H
(c) 2340 H
(d) 4320 H
Answer:

Option (c)

33.
In loop structure, which instruction is used to check whether counter value is 0 or not?
(a) SZE
(b) SZA
(c) INP
(d) ISZ
Answer:

Option (d)

34.
A line of code in an assembly language program is DEC -35, after storing in memory what will be its binary content?
(a) 0000 0000 0011 0101
(b) 1111 1111 1101 1101
(c) 0000 0000 0010 0011
(d) 1000 0000 0010 0011
Answer:

Option (b)

35.
Which logic operation is performed between A & B after execution of the following program?
LDA A
CMA
STA TMP
LDA B
CMA
AND TMP
CMA
(a) OR
(b) AND
(c) NOR
(d) NAND
Answer:

Option (a)

Showing 31 to 35 out of 35 Questions