Answer is as follows :
As we know that Marie Assembly Language has opcode of 4 bits i.e. 4 Bit MSB's
A) 0001 0010 0000 0100
So here opcode is 0001 i.e. 1, used for LOAD instruction.
other parts, 0010 0000 0100 is 204. So 0x204 acts as memory location. from where data is loaded in accumulator. Say X represent location 0x204
So instruction is LOAD X or LOAD 0x204
B) 0010 0010 0000 0110
Here opcode is 0010 i.e 2, used for Store instruction.
0010 0000 0110 is 206. So data in accumulator store at location 0x206. Say Y represent location 0x206
So instruction is STORE Y or STORE 0x206
C) 1001 0000 0000 1011
Here opcode is 1001 i.e. 9, used for Jump instruciton.
0000 0000 1011 is 00B. So control is jump to location 0x00B. Say Z represent location 0x00B.
So instruction is JUMP 0x00B or JUMP Z
D) 0111 0000 0000 0000
Opcode is 0111 i.e 7, used for Halt.
other parts 0000 0000 0000 i.e. 0 , so it don't represent any memory location.
So instruction is HLT i.e. used for terminating the program.
if there is any query please ask in comments....
Please help with solution Write the following MARIE assembly language equivalent of the following machine language...
Generate the equivalent Sim68 assembly program for the following machine code assuming it originates at address dollar 0000: 1001 0000 0100 0000 0011 0000 0100 0000 0011 0010 0010 1000 0000 0000 0000 1100 0110 0111 0000 0110 0110 1101 1111 1000 1101 0000 0100 0001 0110 0000 1111 0110 0100 1110 0100 0000 0000 0000 0000 0000 0001 0110 1111 0000 1111 1111 1111 1111 1000 0000 0000 0000 0000 0000 0000 0001
Given the instruction set for MARIE: Write the assembly language equivalent for the machine instruction: 1011 000000001111.
Please help and explain in detail! For practice! Write the assembly language equivalent of the following MARIE machine language instructions: a. 0100010111000010 b. 0001001110011010 c. 1100000101101100
23. Convert the following assembly code to binary: Store 70 0001 0000 0100 0110 0100 0000 0100 0110 0010 0000 0100 0110 0011 0000 0100 0110
Provide the type and assembly language for the following binary value: 0000 0010 0001 0001 0100 0000 0010 0000two Please explain your reasoning, as I do not understand just the solutions
Provide the type and assembly language for the following binary value: 0000 0010 0001 0001 0100 0000 0010 0000two (4 points)
2.39 Write the MIPS assembly code that creates the 32-bit constant 0010 0000 0000 0001 0100 1001 0010 01002 and stores that value to register $t1.
Provide the type and assembly language instruction for the following binary value: 0000 0001 0100 1000 1010 1000 0010 0000 (binary)
Write the MIPS assembly code that creates the 32-bit constant 0010 0000 0000 0001 0100 1001 0010 0100 and stores that value to register $t1. From previous answers, I see that there is an lui and ori code. Where do those come from? Do they come from the mips reference sheet? Can I get a good explanation please.?
Answer all elaborately or dont even attempt. 7. (4 points) Explain why, in MARIE, the MAR is only 12 bits wide while the AC is 16 bits wide. Hint: Consider the difference between data and addresses. 8. (24 points) Use a few sentences to answer each of the following questions. The answers can be found in section 4.1 to 4.7 in the textbook. 1) What purpose does the datapath in a CPU serve? 2) What does the control unit in...