The process of exciting a block of statements repateldy is called:
(A) Sequence
(B) Decision
(C) Looping
(D) Jumping
Answers
Answer:
(C) Looping but also use (D) Jumping
Explanation:
Eg.
PROGRAM COMMENTS
MVI B,10H B=10H hexadcm
MVI D,00H D=00H
LXI H C000 H [(HL)]=[COOOH]
UP : MOV A, M A=[(HL)]orA=23H
ANI OF A=03H
MOV C, A C=A means C=03H
MOV A, M A=[(HL)]orA=23H
ANI FO A=20H
RRC A is (accumulator)
RRC store number 20H re-
RRC -verse orA=23H to 02Hby
RRC 4 times RRC,A=02H
ADD C A= A + C
JNC SKIP Carry=0 skip step
INR D Add Carry D=01H
SKIP:INX H next memory location
DCR B Dec of B ,B=09H
JNZ UP JUMP up B!=00H
LXI H,D303 H [(HL)]=[D303H]
MOV M, A M or [(HL])=05H
INX H next memory location
MOV M, D M or [(HL])=D
HLT Stop MPU
This program 8bit data whose memory location COOOH, by split the nibble(digit or bits) add them and Store to address D303H.
This program 8bit data whose memory location COOOH, by split the nibble(digit or bits) add them and Store to address D303H. In program looping system work with the help of JUMP Instruction
This program 8bit data whose memory location COOOH, by split the nibble(digit or bits) add them and Store to address D303H. In program looping system work with the help of JUMP InstructionBecause of JUMPING is also correct Ans