How to convert Binary numbers to MARIE Assembly Language equivalent
How to convert Binary numbers to MARIE Assembly Language equivalent
Convert the following Binary numbers to MARIE Assembly Language equivalent:
a) 0010 0000 0000 0111
[STEP 1 :: Converting to Hexadecimal]
0010 - 2 0000 - 0 0000 - 0 0111 - 7
[STEP 2 :: Converting to MARIE]
2 - Store "0010 0000 0000 0111" in MARIE == Store 007
b) 1001 0000 0000 1011
[STEP 1 :: Converting to Hexadecimal]
1001 - 9 0000 - 0 0000 - 0 1011 - B
[STEP 2 :: Converting to MARIE]
9 - Jump "1001 0000 0000 1011" in MARIE == Jump 00B
c) 0011 0000 0000 1001
[STEP 1 :: Converting to Hexadecimal]
0011 - 3 0000 - 0 0000 - 0 1001 - 9
[STEP 2 :: Converting to MARIE]
3 - Add "0011 0000 0000 1001" in MARIE == Add 009
How to convert Binary numbers to MARIE Assembly Language equivalent
Wiki | thetqweb