Quiz Answar
Quiz Answar
2. Use a 4-bit multiplier (since both numbers are less than 8 bits).
3. Perform the multiplication using Booth's Algorithm, keeping track of the partial products and the
final result.
Initial state:
After 4 shifts, the final product is 00001111 10111011, which is equivalent to -9 * -13 = 117.
QUIZ QUESTIONS: 2
Q.1 Hold the address of instruction
A AR
B PC
C DR
D TR
A 12
B 14
C 16
D 8
A Compiler
B Program
C Label
D Assembly
Q.4 Computers that have a single-processor register usually assign to name it is.
A Register
B Accumulator
C Memory
D Adder
QUIZ QUESTIONS: 3
Q.1 What is JNZ
→Instructions that set the ZF include CMP, SUB, ADD, TEST, AND, OR, and XOR
→STA stores the value of the accumulator (AC) into a specified memory location
Q.3 ISZ
A Increment of vales
D None of these
Q.4 BSA
C Sequence of Branch
D None of these
QUIZ QUESTIONS: 4
Q.1: perform arithmetic operation using GNU simulator (-6) + (13):
CODE
jmp start
start: nop
LXI H,3000H
MOV A,M
INX H;3001H
MOV C,M
SUB C
INX H;3002H
MOV M,A
hlt
QUIZ QUESTIONS: 5
Q.1 what is HLT
This instruction stands for "Halt." When executed, it stops the microprocessor's
execution until the next interrupt occurs. It essentially puts the processor into a
sleep state until it receives an interrupt signal.
QUIZ QUESTIONS: 6
Q.1 perform any example for AND, OR, XOR, CMA
OR :
Lda 0001;
Mov b,a;
Lda 0003;
ORA b;
Sta 0005;
Hlt;
AND:
Lda 0001;
Mov b,a;
Lda 0003;
ANA b;
Sta 0005;
Hlt;
XOR:
Lda 0001;
Mov b,a;
Lda 0003;
XRA b;
Sta 0005;
Hlt;
Compliment:
Lda 0001;
Cma;
Sta 0005;
Hlt;
QUIZ QUESTIONS: 7
Q.1 what is Full adder truth table?
A B Cin Cout SUM
0 0 0 0 0
0 0 1 0 1
0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
QUIZ QUESTIONS: 8
Q.1: What is RISC?
RISC is a type of computer architecture that emphasizes a small set of simple and highly
optimized instructions. In RISC architectures, instructions are typically executed in one clock
cycle, leading to faster execution. RISC processors often have a streamlined instruction set,
which allows for more efficient use of hardware resources. Examples of RISC architectures
include ARM and MIPS.