Question

Problem 20 Generate the equivalent Sim68 assembly program for the following machine code assuming it originates at address $0000: 1001 0 000 010 0 0 000 0011 000 0 0 100 0000 0011 0010 0010 1000 0000 0000 0000 1100 0110 0111 0000 0110 01 10 11 01 1111 1000 11 01 000 0 0 100 0001 011 0 0 000 0110 0 0 0 0 0000 0000 0000 0000 000 1 0110 1111 0000 1000 000 0 0 000 00 000 0000 000 0 0 000 000

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The given machine code starts at address $0000. The number of address bits in Sim68 is 24 bits. The number of data bits is 16Address Machine code Sim68 instructions org $0000 sub do, do $0000 1001 0000 0100 0000 $0002 0011 0000 0100 0000 movea do, aoExplanation: The instruction org defines the starting location of the program in the memory. The next machine code instructioThe next machine code instruction is 0110 1101 1111 1000. The first 4 most significant bits indicates the opcode of blt instr

Add a comment
Know the answer?
Add Answer to:
Generate the equivalent Sim68 assembly program for the following machine code assuming it originates at address...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Base no bit 0 0 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits...

    Base no bit 0 0 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for segment no and 13 bits for offset. Segment table of the currently running process is given below: a) (5) How many segments can this Segment Present Modify Length process have at maximum? bit 0 00100 0111 0000 0100 0000 1000 0100 b) (15) Convert the following logical 10100 0100 0001 0010 0010 1100 1000 address to physical (real) address. 2 01100 0100 0000...

  • DO bit 0 1 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for...

    DO bit 0 1 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for segment no and 13 bits for offset. Segment table of the currently running process is given below: a) (5) How many segments can this Segment Present Modify process have at maximum? Length bit Base 0 0 0 0100 0111 0000 0100 0000 1000 0100 b) (15) Convert the following logical 1 1 0100 0100 0001 0010 0010 1100 1000 address to physical (real) address...

  • Please help with solution Write the following MARIE assembly language equivalent of the following machine language...

    Please help with solution Write the following MARIE assembly language equivalent of the following machine language instructions 0001 0010 0000 0100 0010 0010 0000 0110 1001 0000 0000 1011 0111 0000 0000 0000

  • Perform two’s complement addition on the following pairs of numbers. In each case, indicate whether an...

    Perform two’s complement addition on the following pairs of numbers. In each case, indicate whether an overflow has occurred. a. 1001 1101 + 1111 1110 b. 0111 1110 + 0110 0111 c. 1000 0011 + 1000 0010 d. 1010 1000 + 0010 1100

  • We have learned a famous shift cipher called Caesar Cipher. Now if we are given a...

    We have learned a famous shift cipher called Caesar Cipher. Now if we are given a plain test: THE ART OF WARAnd key = 3 (a shift by 3 letters), please give the ciphertext Given an 8 bit block P = 10101111 and a key K = 01101011, please give the result of bitwise XOR between P and K Please give the left 2 shift of the 8 bit text 01100101 Use the given a permutation table 23614857 to define...

  • 23. Convert the following assembly code to binary: Store 70 0001 0000 0100 0110 0100 0000...

    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

  • 7. On a machine, an instruction is always 16 bits long, and the re are 16...

    7. On a machine, an instruction is always 16 bits long, and the re are 16 registers. (1) Briefly explain the idea of expanding opcode. (5%) (2) Given this scheme of expanding opcode, identify how many three-address instructions, two-address instructions, one-address instructions, and zero- address instructions are supported. (10%) O 0000 xxxx yyyy zzzz 0001 xxxX yyyy ZZZZ 0010 xxxx yyyy zzZZZ 92 3-address SE instructions 0111 xxxx yyyy zzzz 1000 0000 yyyy zzZz 1000 0001 yyyy zzzz 1000 0010...

  • Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3...

    Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 How many 1/0 of Port-D? How many usable 1/0 of Port-D, if Serial-Communication is in-used? What is the Arduino's pin assignment of ATMEL's PC5, PB3, & PD1*? What is the ATMEL's pin assignment of Arduino's D13*, D1, & D19? To complete the table about Number System Conversion (shown your step) 6 6 0110 7 7 0111...

  • I think you are actually doing binary to hex. please do this without loops and you...

    I think you are actually doing binary to hex. please do this without loops and you can use recursion. please write a working C code. Thanks Write a loop-less function to convert from Hex to Binary. (HINT: Use a helper function/recursion) binHex[16] [5] {"0000", "O001","0010","0011","0100" ,"0101", "0110", "0111", "1000", "1001" , "1010", "1011", "1100", "1101", "1110" 1 const char = s char hexToBinary ...) 7

  • Assuming the square 2D memory organization shown in Figure 5.7 below, what are the dimensions of...

    Assuming the square 2D memory organization shown in Figure 5.7 below, what are the dimensions of a memory containing 64 (26) bytes of storage? How large would the MAR be?   How many bits are sent to the row and column decoders?   How many output lines would these decoders have? FIGURE 5.7 Column Column Column Column 2 (10) Address (00) 0001 0010 0011 Row O (00) 0100 0110 0111 Row 1 (01) Row selection lines 1000 1001 1010 1011 Row 2...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT