Question

Write the assembly language equivalent of the following MARIE machine language instructions: 0111 0000 0000 0000...

  1. Write the assembly language equivalent of the following MARIE machine language instructions:
    1. 0111 0000 0000 0000
    2. 0001 0011 0011 0000
    3. 0100 1111 0100 1111
    4. 1000 0100 0000 0000

Homework Answers

Answer #1

You can check the other Marie code equivalents using the Marie Instruction Set given above.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
7. Encode the following message using the ASCII encoding scheme:  I love CS! 1. 0100 0011 0101...
7. Encode the following message using the ASCII encoding scheme:  I love CS! 1. 0100 0011 0101 0011 0010 0000 0111 0010 0111 0101 0110 1100 0110 0101 0111 0011 0010 0001 2. 0100 0011 0101 0011 0010 0000 0111 0010 0111 0101 0111 1100 0110 0101 0111 0011 0010 0001 3. 0100 1001 0010 0000 0110 1100 0110 1111 0111 0110 0110 0101 0010 0000 0100 0011 0101 0011 0010 0001 4. 0100 0011 0101 0011 0010 0000 0111 0010...
a. Write MIPS assembly code for the following machine code. Assume that the segment is placed...
a. Write MIPS assembly code for the following machine code. Assume that the segment is placed starting at location 8000. Create labels for branch and jump instructions and indicate the 0001 0001 0010 1000 0000 0000 0000 0011 1000 1110 0001 0001 0000 0000 0000 1000 0010 0010 0010 1000 0000 0000 0000 0110 0000 1000 0000 0000 0000 0001 0000 0010 b. Translate the following C function into MIPS assembly code. int f1(int ar1[], int ar2[], int n) {...
CCR flags get set by ADD and SUB instructions. Perform the following binary operations and provide...
CCR flags get set by ADD and SUB instructions. Perform the following binary operations and provide the resulting N, Z, C and V flag values. Only the values for the flags. not the binary addition/subtraction 0011 0111 + 0101 1011 ------------ N =    Z =    C =    V = 1011 1111 + 0100 1001 ------------ N =    Z =    C =    V = 0000 1011 + 0011 1101 ------------ N =    Z =    C =    V = Note this is...
Write the MIPS assembly code that creates the 32-bit constant 0010 0000 0000 0001 0100 1001...
Write the MIPS assembly code that creates the 32-bit constant 0010 0000 0000 0001 0100 1001 0010 0100two and stores that value to register $t1, and print the value of $t1 to stdout in binary - i.e., as a 32 bit sequence of '1's and '0's (use the MIPS syscall functionality for I/O).
The cache is direct mapped, 16 lines, each line is 2 bytes The offset field is...
The cache is direct mapped, 16 lines, each line is 2 bytes The offset field is ________ bits The line field is ________ bits The tag field is ________ bits line tag byte 0 byte 1 (can someone explain this to me) 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Please convert the following bit pattern to a MIPS instruction. 0000 0001 0110 0110 0100 1000...
Please convert the following bit pattern to a MIPS instruction. 0000 0001 0110 0110 0100 1000 0010 0000 1000 1101 1001 1010 0000 0000 0001 1100
Question: Write down the corresponding MIPS machine language of the following assembly language code. lw $S0,...
Question: Write down the corresponding MIPS machine language of the following assembly language code. lw $S0, 64($S1) add $t0,$S0,$S1 sub $t1,$S3,$S4 sw $t1,100($S1) addi $S4,$S6,100
Write a possible assembly language instruction or set of instructions to accomplish the following: Compare the...
Write a possible assembly language instruction or set of instructions to accomplish the following: Compare the byte stored at the memory location pointed to by register R4 to the upper (higher) byte stored in register R5 b) Branch to instruction at label ‘ZERO’ if the lower byte of register R6 is zero c) Jump to the instruction at label ‘EVEN’ if the value in register R7 is an even number
Assignment-I Write the output for the following instructions MOV B , A             Before instruction execution, the...
Assignment-I Write the output for the following instructions MOV B , A             Before instruction execution, the contents of registers B and A are                                  Rd= B= XBH                         Rs= A = 1FH              After the execution of instruction.                                 Rd= B = ?                         Rs= A = ? ADD B If A= E 3H   B=  0 4H then after the  execution of the above instruction the content of A = ? SUI 03H If the value of A = 15Hthen after the execution of the above instruction...
(MIPS Assembly Language): Write the following sequence of code using *native* MIPS instructions: x = x...
(MIPS Assembly Language): Write the following sequence of code using *native* MIPS instructions: x = x - y[0] + y[1]; In memory x, y are stored beginning at 0x010000cc. Use registers $s1 for x,  and $s2 for the base address of y. Make sure your code includes all necessary declarations such that it could run in SPIM.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT