October 23, 2023
October 23, 2023
October 23, 2023
###### LPP
October 23, 2023
 Question 6

The octal representation of an integer is (342)8. If this were to be treated as an eight-bit integer is an 8085 based computer, its decimal equivalent is

 A 226 B -98 C 76 D -30
Question 6 Explanation:
(342)8 = (011 100 010)2 = (1110 0010)2
If this can be treated as 8 bit integer, then the first becomes sign bit i.e., ‘1’ then the number is negative.
8085 uses 2’s complement then

⇒ -30
Question 6 Explanation:
(342)8 = (011 100 010)2 = (1110 0010)2
If this can be treated as 8 bit integer, then the first becomes sign bit i.e., ‘1’ then the number is negative.
8085 uses 2’s complement then

⇒ -30
##### Karpaga Selvi
Article Rating
Subscribe
Notify of
Inline Feedbacks
October 23, 2023
###### LPP
October 23, 2023
 Question 6

The octal representation of an integer is (342)8. If this were to be treated as an eight-bit integer is an 8085 based computer, its decimal equivalent is

 A 226 B -98 C 76 D -30
Question 6 Explanation:
(342)8 = (011 100 010)2 = (1110 0010)2
If this can be treated as 8 bit integer, then the first becomes sign bit i.e., ‘1’ then the number is negative.
8085 uses 2’s complement then

⇒ -30
Question 6 Explanation:
(342)8 = (011 100 010)2 = (1110 0010)2
If this can be treated as 8 bit integer, then the first becomes sign bit i.e., ‘1’ then the number is negative.
8085 uses 2’s complement then

⇒ -30