Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A word is equal to 12bits Show final values in binary after executing this 4 lin

ID: 3537030 • Letter: A

Question

A word is equal to 12bits


Show final values in binary after executing this 4 line of code:

Line1

100000110010

Line2

100100110101

Line3

100100110000

Line4

111101011111

Some of the know values just prior to the start of execution

MEMORY REGISTERS

46

00001000

47

11010011

48

00000011

49

10110011

50

00001000

51

11010011

52

00000110

53

00000100

54

10110011

55

00000101

1000001

PC








OPCODES

1000 LOAD AC FROM MEM

1001   ADD TO AC FROM MEM

1111   STOR AC MEM


A.    at what memory address(in decimal)is line 1 located

A.    

Line1


B.     enter all known values in binary in the proper locations below

FINAL VALUES

MEMORY                                                  REGISTERS

93

94

95

96

AC

                     

Line1

100000110010

Line2

100100110101

Line3

100100110000

Line4

111101011111

Explanation / Answer

The location for line 1st line should be 94 because the 48 memory addreses before that will be occupied by the PC as the 4 lines of 12 bits will require that much space.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote