Translate the assembly language program given in problem 1 t
Translate the assembly language program given in problem #1 to show machine language and show the contents and address of the ROM where program is stored. The instructions format are given below:
Solution
Format of answer is address of ROM:Encoding
ORG 0 means address will start from 0. Assuming little endian memory.
Adress : Memory content
0 : 01111000 01100110
2 : 01111011 011111111
4 : 01111111 01011101
6 : 11000000 00000000
8 : 11000000 00000011
10 :11000000 00000111
12 :11100100
13 : 11111011
14 : 11111111
15 : 11010000 00000011
17 : 11010000 00000111
19 : 11010000 00000000
