Expert answer:This is the home work please submit it one time and if there is code it’s doing to be assemble code
assignment_2.pdf
Unformatted Attachment Preview
The University of District Of Columbia
The Department of Computer Science and Information Technology
CSCI 311- 1
Assignment-2
1. Give the Java statement that produced the following IJVM code:
ILOAD j
ILOAD n
ISUB
BIPUSH 7
ISUB
DUP
IADD
ISTORE i
2. Show (draw) the stack segments in the memory for the following code snippet
The University of District Of Columbia
The Department of Computer Science and Information Technology
CSCI 311- 1
Assignment-2
3. Describe the Microarchitecture level one of the following
The Core i7
ATmega168
OMAP4430
Chapter -5
4. Design an expanding opcode to allow all the following to be encoded in a 32-bit
instruction:
o
o
o
15 instructions with two 12-bit addresses and one 4-bit register number
650 instructions with one 12-bit address and one 4-bit register number
80 instructions with no addresses or registers
5. Convert the following formulas from infix to reverse Polish notation.
o
A+B+C+D−E
o
(A − B) × (C + D) + E
o
(A × B) + (C × D) − E
(A − B) × (((C − D × E) / F) /G) × H
o
6. Write Assembly code for the following reverse Polish notation formulas
o
o
o
o
AB − C + D ×
AB/CD/+
ABCDE +××/
ABCDE× F / +G − H /×+
7. For the 16-bit binary number 1001 0101 1100 0011, show the effect of:
o
A right shift of 4 bits with zero fill.
o
A right shift of 4 bits with sign extension.
A left shift of 4 bits.
A left rotate of 4 bits.
o
o
The University of District Of Columbia
The Department of Computer Science and Information Technology
CSCI 311- 1
Assignment-2
8. A right rotate of 4 bits.
9. The IA-64 architecture contains an unusually large number of registers (64). Was the
choice to have so many of them related to the use of predication? If so, in what way? If
not, why are there so many?
…
Purchase answer to see full
attachment
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more