Loading
-
613.
-
614.
-
615.
Consider the following assembly language program for a hypothetical processor A, B, and C are 8 bit registers. The meanings of various instructions are shown as comments.
MOV B, #0 ; B <- 0
MOV C, #8 ; C <- 8
[1] If the initial value of register A is A0 the value of register B after the program execution will be [2 marks]
(A) the number of 0 bits in A0
(B) the number of 1 bits in A0
(C) A0
(D) 8[2] Which of the following instructions when inserted at location X will ensure that the value of register A after program execution is the same as its initial value? [2 marks]
(A) RRC A, #1
(B) NOP ; no operation
(C) LRC A, #1 ; left rotate A through carry flag by one bit
(D) ADD A, #1asked in Computer Science And Engineering, 2003
View Comments [0 Reply]
-
616.
-
617.
-
618.