PEP8 Simulator Assignment

PLEASE SEE ATTACHED FILE FOR BETTER FORMATTING.

GOAL: Write a PEP/8 machine language simulator that simulates the PEP/8 computer and instruction set for only the following instructions:

Instruction Specifier     Instruction     Addressing Modes     Status Bits
0000 0000                   Stop execution     NA   
0001 100r                 Bitwise invert r     NA    NZ
0001 110r                 Arithmetic shift left r     NA    NZVC
0001 111r             Arithmetic shift right r     NA    NZC
0010 000r                 Rotate left r     NA    C
0010 001r                 Rotate right r     NA    C
0011 0aaa     Decimal input trap     d    NZV
0011 1aaa     Decimal output trap     d, i   
0100 1aaa     Character input     d   
0101 0aaa     Character output     d, i   
0111 raaa     Add to r     d, i    NZVC
1000 raaa     Subtract from r     d, i    NZVC
1001 raaa     Bitwise AND to r     d, i    NZ
1010 raaa     Bitwise OR to r     d, i    NZ
1100 raaa     Load r from memory     d, i    NZ
1101 raaa     Load byte from memory     d, i    NZ
1110 raaa     Store r to memory     d   
1111 raaa     Store byte r to memory     d   

Here are some specifics.

1.    Use an array to represent the memory.
2.    Use variables or arrays for the PEP8 registers. I recommend putting it all into a structure. I also recommend using an array of 16 bit values for A, X, PC, SP so that you can use the r bit from the instructions to point directly to A or X. You do NOT have to include the Status bits.
3.    Use unions of structures to break up the registers and instructions into the correct bits (for example, use a structure that can be unioned to break up the 8 bit specifier into the following bit combos (4, 1, 3), (5, 3), (7, 1), (8). This will allow you to instantly extract the instruction, register and addressing modes from each instruction. Also use a union to break up the 16 bit operand into two 8 bit values.
4.    Have the instructions be inputted either through the command line or better yet, through a file, in the following format for each instruction:
a.    6 Hexadecimal characters per instruction
5.    After each instruction in the program is executed, output the PEP8 machine register values.

medical book review

Read chapter 3 and 4 and write in your own words what you got out chapters 3 and 4.  I am not asking for a  book review, what I want is your what you understand and emotional reactions as your read chapter 3 and 4 only.
Use simple words, English is my second language and my vocabulary is not very broad.  This IS NOT AN ESSAY is more like a homework, write like a high school student would write. Dont use words hard to understand please.
I want you to briefly write simple things like for example, I cried when so and so died. I couldnt understand when this happenedI had to take a moment before continuing reading this chapter
1 full page. Make sure you write chapter 1first than chapter 2 lastly. Again use a lot personal pronouns, express if you got shock, didnt expect that to happen.
The purpose of this is to capture your reaction along with your review of these chapters.
Attached is the entire book but only read chapter 3 and 4

ECOL 100 Module 2 Case

Mass extinctions are periods in Earth’s history when abnormally large numbers of species die out simultaneously or within a limited time frame. The Cretaceous-Tertiary (or K-T) extinction event is probably the best known to many people because it wiped out the dinosaurs, but many other mass extinction events have occurred throughout the history of the Earth. Some of these mass extinction events are even more devastating than K-T. The most severe occurred at the end of the Permian period when approximately 96% of all species disappeared. Many smaller-scale mass extinctions of plants and animals have occurred as recorded in the fossil records. Discover more about Earth’s major extinction events below in the following Case Assignment.

Case Part I: Geologic History of Earth

The first part of this assignment requires that you consider the history of extinction on our planet.

From the Sam Noble Museum, answer the following questions:

How many major mass extinction periods are listed here? Follow the links from that page to learn more about each period. What caused each, and which major groups of species disappeared from each period?

Read the article link on Recent Extinctions:
Choose two of the recent extinctions listed on this link and explain why they occurred.
Case Part II: Global Climate Change

Scientists have concerns that human activities are changing our environment at rapid rates that could result in a sixth mass extinction. Lets examine the evidence:

Review the Recent, Past and Present section from Mass Extinctions.

Also review the following link from the NASA website: https://climate.nasa.gov/causes/

Define greenhouse effect. Describe which gases are important to the greenhouse effect.
What were listed as human activities related to greenhouse gas production from each link?
How do humans contribute to both climate change and major extinction events?
Some scientists think that human activities may be contributing to a sixth mass extinction event. What specific evidence do they site for this possible event? (you may need to conduct additional research to support your findings).
Part III: Drawing Conclusions

Now provide a summary that explains what conclusions you can make for yourself based on the evidence provided and what you now know about the geologic time scale of the history of the Earth.

Assignment Expectations
Organize this essay assignment using subtitles that summarize the topic from each question above. For example, to answer Question 1, use a descriptive subtitle like the following: Part I: Geologic History of the Earth/Major Events.

Answer each question under the subtitle using complete sentences that relate back to the question. Be sure to use APA formatting throughout your essay with 1-inch margins, 12-point type, and double spacing throughout. Include a title page, introduction, answers to the questions with subtitles, and concluding paragraph. Remember to include in-text citations within the body of the essay referencing your resources (e.g., Murray, 2014). Also, be sure to include a reference section at the end of your assignment listing all required readings and any additional resources you used to complete your essay. A helpful guide to writing a quality essay can be found in Trident’s Student Guide to Writing a High-Quality Academic Paper. This guide also provides links to example essays written in APA format.

Direct quotes should be limited and must be designated by quotation marks. Paraphrased ideas must give credit to the original author, for example: (Murray, 2014). Direct copying from homework help websites will not receive credit. Once you have completed your assignment within a Word document, please upload your final version to the Case 2 Dropbox. Please also note your Turnitin originality score and make revisions as needed. Please contact your instructor with any questions.

Court participants roles and relationships

Description

Discuss judges, prosecuting attorneys, defense attorneys, law clerks, court clerks and court administrators, jurors, witnesses, police officers, the news media.

Sample Solution

The post Court participants roles and relationships appeared first on homework handlers.